-
Bug
-
Resolution: Done
-
Blocker
-
camel-k-1.8.1
-
None
-
False
-
None
-
False
-
%
-
Todo
-
When trying out the JMS scenario with quarkus-qpid-jms client, it failed on 1.8.1 (was working for multiple prior versions) with the missing dependency error:
Failed to execute goal on project camel-k-integration: Could not resolve dependencies for project org.apache.camel.k.integration:camel-k-integration:jar:1.8.1: Could not find artifact org.amqphub.quarkus:quarkus-qpid-jms:jar:0.32.0.redhat-00001 in tnb-maven-repo (http://nexus.test-infra.svc.cluster.local/repository/maven-proxy-1-8) -> [Help 1]"}
The problem can be reproduced by adding org.amqphub.quarkus:quarkus-qpid-jms dependency to an integration, for example:
kamel run -d mvn:org.amqphub.quarkus:quarkus-qpid-jms Hello.java
This version is managed by the quarkus-camel-bom present in the camel-k mrrc rhi-camel-k-1.8.1.CK5-maven-repository/maven-repository/com/redhat/quarkus/platform/quarkus-camel-bom/2.7.6.Final-redhat-00009/quarkus-camel-bom-2.7.6.Final-redhat-00009.pom:
<dependency> <groupId>org.amqphub.quarkus</groupId> <artifactId>quarkus-qpid-jms</artifactId> <version>0.32.0.redhat-00001</version> </dependency>
that is referenced from the current camel-k-runtime bom rhi-camel-k-1.8.1.CK5-maven-repository/maven-repository/org/apache/camel/k/camel-k-runtime-bom/1.12.1.redhat-00051/camel-k-runtime-bom-1.12.1.redhat-00051.pom:
<properties>
<quarkus-platform-version>2.7.6.Final-redhat-00009</quarkus-platform-version>
...
<dependency>
<groupId>com.redhat.quarkus.platform</groupId>
<artifactId>quarkus-camel-bom</artifactId>
<version>${quarkus-platform-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
With camel-k 1.8.0, it is using community 0.32.0 version:
Downloaded from tnb-maven-repo: http://nexus.test-infra.svc.cluster.local/repository/maven-proxy-1-8/org/amqphub/quarkus/quarkus-qpid-jms/0.32.0/quarkus-qpid-jms-0.32.0.pom (2.8 kB at 45 kB/s)"
With camel-k 1.6.10, it is using community 0.27.0 version:
Downloaded from central: https://repo.maven.apache.org/maven2/org/amqphub/quarkus/quarkus-qpid-jms/0.27.0/quarkus-qpid-jms-0.27.0.jar (9.9 kB at 198 kB/s)"