vitaB edited a comment on issue #1086:
URL: https://github.com/apache/camel-quarkus/issues/1086#issuecomment-621334505


   Here is the dependency tree from the above build file
   ```
   compileClasspath - Compile classpath for compilation 'main' (target  (jvm)).
   +--- org.apache.camel.quarkus:camel-quarkus-bom:1.0.0-M6
   |    +--- org.apache.camel.quarkus:camel-quarkus-kotlin:1.0.0-M6 (c)
   |    +--- org.apache.camel.quarkus:camel-quarkus-log:1.0.0-M6 (c)
   |    +--- org.apache.camel.quarkus:camel-quarkus-timer:1.0.0-M6 (c)
   |    +--- org.apache.camel:camel-core-engine:3.1.0 (c)
   |    +--- org.apache.camel.quarkus:camel-quarkus-core:1.0.0-M6 (c)
   |    +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61 (c)
   |    +--- org.apache.camel:camel-log:3.1.0 (c)
   |    +--- org.apache.camel:camel-timer:3.1.0 (c)
   |    +--- org.apache.camel:camel-api:3.1.0 (c)
   |    +--- org.apache.camel:camel-base:3.1.0 (c)
   |    +--- org.apache.camel:camel-support:3.1.0 (c)
   |    +--- io.quarkus:quarkus-core:1.3.2.Final (c)
   |    +--- io.quarkus:quarkus-arc:1.3.2.Final (c)
   |    +--- org.apache.camel.quarkus:camel-quarkus-support-common:1.0.0-M6 (c)
   |    +--- io.quarkus:quarkus-development-mode-spi:1.3.2.Final (c)
   |    +--- org.apache.camel:camel-main:3.1.0 (c)
   |    +--- org.apache.camel:camel-core-catalog:3.1.0 (c)
   |    +--- org.apache.camel:camel-microprofile-config:3.1.0 (c)
   |    +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.61 (c)
   |    +--- org.slf4j:slf4j-api:1.7.29 (c)
   |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5 (c)
   |    +--- jakarta.enterprise:jakarta.enterprise.cdi-api:2.0.2 (c)
   |    +--- jakarta.inject:jakarta.inject-api:1.0 (c)
   |    +--- io.smallrye.config:smallrye-config:1.7.0 (c)
   |    +--- org.jboss.logging:jboss-logging:3.3.2.Final (c)
   |    +--- org.jboss.logmanager:jboss-logmanager-embedded:1.0.4 (c)
   |    +--- org.jboss.logging:jboss-logging-annotations:2.1.0.Final (c)
   |    +--- org.jboss.threads:jboss-threads:3.0.1.Final (c)
   |    +--- org.jboss.slf4j:slf4j-jboss-logging:1.2.0.Final (c)
   |    +--- org.graalvm.sdk:graal-sdk:19.3.1 (c)
   |    +--- org.wildfly.common:wildfly-common:1.5.4.Final-format-001 (c)
   |    +--- io.quarkus.arc:arc:1.3.2.Final (c)
   |    +--- 
org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:1.0.1
 (c)
   |    +--- org.eclipse.microprofile.config:microprofile-config-api:1.4 (c)
   |    +--- jakarta.interceptor:jakarta.interceptor-api:1.2.5 (c)
   |    +--- io.smallrye.config:smallrye-config-common:1.7.0 (c)
   |    \--- jakarta.transaction:jakarta.transaction-api:1.3.3 (c)
   +--- org.apache.camel.quarkus:camel-quarkus-kotlin -> 1.0.0-M6
   |    +--- org.apache.camel:camel-core-engine:3.1.0
   |    |    +--- org.apache.camel:camel-api:3.1.0
   |    |    |    +--- org.apache.camel:camel-util:3.1.0
   |    |    |    |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.29
   |    |    |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.29
   |    |    +--- org.apache.camel:camel-base:3.1.0
   |    |    |    +--- org.apache.camel:camel-api:3.1.0 (*)
   |    |    |    +--- org.apache.camel:camel-management-api:3.1.0
   |    |    |    |    +--- org.apache.camel:camel-util:3.1.0 (*)
   |    |    |    |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.29
   |    |    |    +--- org.apache.camel:camel-support:3.1.0
   |    |    |    |    +--- org.apache.camel:camel-api:3.1.0 (*)
   |    |    |    |    +--- org.apache.camel:camel-management-api:3.1.0 (*)
   |    |    |    |    +--- org.apache.camel:camel-util:3.1.0 (*)
   |    |    |    |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.29
   |    |    |    +--- org.apache.camel:camel-util:3.1.0 (*)
   |    |    |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.29
   |    |    +--- org.apache.camel:camel-management-api:3.1.0 (*)
   |    |    +--- org.apache.camel:camel-support:3.1.0 (*)
   |    |    \--- org.apache.camel:camel-util:3.1.0 (*)
   |    +--- org.apache.camel.quarkus:camel-quarkus-core:1.0.0-M6
   |    |    +--- io.quarkus:quarkus-core:1.3.2.Final
   |    |    |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
   |    |    |    +--- jakarta.enterprise:jakarta.enterprise.cdi-api:2.0.2
   |    |    |    |    +--- jakarta.el:jakarta.el-api:3.0.3
   |    |    |    |    +--- jakarta.interceptor:jakarta.interceptor-api:1.2.5
   |    |    |    |    |    \--- jakarta.annotation:jakarta.annotation-api:1.3.5
   |    |    |    |    \--- jakarta.inject:jakarta.inject-api:1.0
   |    |    |    +--- jakarta.inject:jakarta.inject-api:1.0
   |    |    |    +--- io.smallrye.config:smallrye-config:1.7.0
   |    |    |    |    +--- io.smallrye.config:smallrye-config-common:1.7.0
   |    |    |    |    |    +--- 
org.eclipse.microprofile.config:microprofile-config-api:1.4
   |    |    |    |    |    \--- org.jboss.logging:jboss-logging:3.4.1.Final -> 
3.3.2.Final
   |    |    |    |    \--- org.jboss.logging:jboss-logging:3.4.1.Final -> 
3.3.2.Final
   |    |    |    +--- org.jboss.logging:jboss-logging:3.3.2.Final
   |    |    |    +--- org.jboss.logmanager:jboss-logmanager-embedded:1.0.4
   |    |    |    |    \--- 
org.wildfly.common:wildfly-common:1.5.0.Final-format-001 -> 
1.5.4.Final-format-001
   |    |    |    +--- org.jboss.logging:jboss-logging-annotations:2.1.0.Final
   |    |    |    +--- org.jboss.threads:jboss-threads:3.0.1.Final
   |    |    |    |    +--- org.jboss.logging:jboss-logging:3.3.1.Final -> 
3.3.2.Final
   |    |    |    |    \--- org.wildfly.common:wildfly-common:1.5.0.Final -> 
1.5.4.Final-format-001
   |    |    |    +--- org.slf4j:slf4j-api:1.7.29
   |    |    |    +--- org.jboss.slf4j:slf4j-jboss-logging:1.2.0.Final
   |    |    |    |    +--- org.slf4j:slf4j-api:1.7.21 -> 1.7.29
   |    |    |    |    \--- org.jboss.logging:jboss-logging:3.4.0.Final -> 
3.3.2.Final
   |    |    |    +--- org.graalvm.sdk:graal-sdk:19.3.1
   |    |    |    \--- org.wildfly.common:wildfly-common:1.5.4.Final-format-001
   |    |    +--- io.quarkus:quarkus-arc:1.3.2.Final
   |    |    |    +--- io.quarkus.arc:arc:1.3.2.Final
   |    |    |    |    +--- jakarta.enterprise:jakarta.enterprise.cdi-api:2.0.2 
(*)
   |    |    |    |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
   |    |    |    |    +--- jakarta.transaction:jakarta.transaction-api:1.3.3
   |    |    |    |    \--- org.jboss.logging:jboss-logging:3.3.2.Final
   |    |    |    +--- io.quarkus:quarkus-core:1.3.2.Final (*)
   |    |    |    \--- 
org.eclipse.microprofile.context-propagation:microprofile-context-propagation-api:1.0.1
   |    |    +--- org.apache.camel.quarkus:camel-quarkus-support-common:1.0.0-M6
   |    |    |    \--- io.quarkus:quarkus-core:1.3.2.Final (*)
   |    |    +--- io.quarkus:quarkus-development-mode-spi:1.3.2.Final
   |    |    +--- org.apache.camel:camel-main:3.1.0
   |    |    |    +--- org.apache.camel:camel-api:3.1.0 (*)
   |    |    |    +--- org.apache.camel:camel-base:3.1.0 (*)
   |    |    |    +--- org.apache.camel:camel-core-engine:3.1.0 (*)
   |    |    |    +--- org.apache.camel:camel-management-api:3.1.0 (*)
   |    |    |    +--- org.apache.camel:camel-support:3.1.0 (*)
   |    |    |    \--- org.apache.camel:camel-util:3.1.0 (*)
   |    |    +--- org.apache.camel:camel-core-engine:3.1.0 (*)
   |    |    +--- org.apache.camel:camel-base:3.1.0 (*)
   |    |    +--- org.apache.camel:camel-core-catalog:3.1.0
   |    |    |    +--- org.apache.camel:camel-api:3.1.0 (*)
   |    |    |    +--- org.apache.camel:camel-tooling-model:3.1.0
   |    |    |    |    \--- org.apache.camel:camel-util-json:3.1.0
   |    |    |    \--- org.slf4j:slf4j-api:1.7.30 -> 1.7.29
   |    |    \--- org.apache.camel:camel-microprofile-config:3.1.0
   |    |         +--- org.apache.camel:camel-support:3.1.0 (*)
   |    |         \--- 
org.eclipse.microprofile.config:microprofile-config-api:1.4
   |    \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.61
   |         +--- org.jetbrains.kotlin:kotlin-stdlib:1.3.61
   |         |    +--- org.jetbrains.kotlin:kotlin-stdlib-common:1.3.61
   |         |    \--- org.jetbrains:annotations:13.0
   |         \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.61
   |              \--- org.jetbrains.kotlin:kotlin-stdlib:1.3.61 (*)
   +--- org.apache.camel.quarkus:camel-quarkus-log -> 1.0.0-M6
   |    +--- org.apache.camel.quarkus:camel-quarkus-core:1.0.0-M6 (*)
   |    \--- org.apache.camel:camel-log:3.1.0
   |         \--- org.apache.camel:camel-support:3.1.0 (*)
   \--- org.apache.camel.quarkus:camel-quarkus-timer -> 1.0.0-M6
        +--- org.apache.camel.quarkus:camel-quarkus-core:1.0.0-M6 (*)
        \--- org.apache.camel:camel-timer:3.1.0
             \--- org.apache.camel:camel-support:3.1.0 (*)
   ```
   the correct version of `org.apache.camel:camel-main` is there but 
`org.apache.camel:camel-headersmap` is missing.
   
   I have now just tried to declare the dependencies version explicitly instead 
of using the bom and then the `camel-headersmap` is part of the loaded 
dependencies (and the error doesn't occur anymore).
   ```
   dependencies {
       val camelQuarkusVersion = "1.0.0-M6"
       
implementation("org.apache.camel.quarkus:camel-quarkus-kotlin:$camelQuarkusVersion")
       
implementation("org.apache.camel.quarkus:camel-quarkus-log:$camelQuarkusVersion")
       
implementation("org.apache.camel.quarkus:camel-quarkus-timer:$camelQuarkusVersion")
   }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to