This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new f17fe0602975 CAMEL-24809: camel-kamelet-main - Artemis, Yasson and 
univocity-parsers under their current group ids
f17fe0602975 is described below

commit f17fe0602975901950337180f4d575f8147a2859
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Sep 18 15:39:07 2026 +0200

    CAMEL-24809: camel-kamelet-main - Artemis, Yasson and univocity-parsers 
under their current group ids
    
    Three third-party libraries publish under a new group id, and the mapping 
still named the
    old one: Artemis is org.apache.artemis since 2.50 (the org.apache.activemq 
coordinates are
    relocation poms), Yasson is org.eclipse.yasson from 3.0.5 on (relocation 
from org.eclipse),
    and the univocity-parsers 2.10.2 that camel-univocity-parsers uses is the 
com.sonofab1rd fork.
    Maven follows a relocation when it resolves a dependency, so camel run was 
not broken, but the
    mapping and the jar verification should name the real coordinates; with 
this change
    -Dcamel.known-dependencies.verify=true verifies all 146 packages against 
their jars. The
    resolver test pins the Yasson and univocity mappings next to the Artemis 
one.
    
    Closes #26595
---
 .../src/main/known-third-party-libraries.properties           | 11 +++++++----
 .../camel/main/download/KnownDependenciesResolverTest.java    |  4 +++-
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git 
a/dsl/camel-kamelet-main/src/main/known-third-party-libraries.properties 
b/dsl/camel-kamelet-main/src/main/known-third-party-libraries.properties
index dce610efc6d9..9acfe5eaa64c 100644
--- a/dsl/camel-kamelet-main/src/main/known-third-party-libraries.properties
+++ b/dsl/camel-kamelet-main/src/main/known-third-party-libraries.properties
@@ -48,12 +48,13 @@ org.jooq = org.jooq:jooq:${jooq-version}
 org.apache.ibatis = org.mybatis:mybatis:${mybatis-version}
 org.quartz = org.quartz-scheduler:quartz:${quartz-version}
 
-# Messaging clients. The Artemis package is deeper than the classic ActiveMQ 
one and is matched first. The classic
+# Messaging clients. Artemis publishes under org.apache.artemis since 2.50 
(the org.apache.activemq coordinates are
+# relocation poms). The Artemis package is deeper than the classic ActiveMQ 
one and is matched first. The classic
 # ActiveMQ 5 and 6 clients share the org.apache.activemq package and only one 
can be mapped: it is the ActiveMQ 6
 # client, the Jakarta one Camel 4 needs, which speaks OpenWire to 5.x brokers 
too. A project that must use the 5.x
 # Jakarta client declares org.apache.activemq:activemq-client-jakarta itself; 
a declared dependency puts the class
 # on the classpath and no download is attempted.
-org.apache.activemq.artemis = 
org.apache.activemq:artemis-jakarta-client-all:${activemq-artemis-version}
+org.apache.activemq.artemis = 
org.apache.artemis:artemis-jakarta-client-all:${activemq-artemis-version}
 org.apache.activemq = org.apache.activemq:activemq-client:${activemq6-version}
 org.apache.qpid.jms = 
org.apache.qpid:qpid-jms-client:${qpid-jms-client-version}
 org.messaginghub.pooled.jms = org.messaginghub:pooled-jms:${pooled-jms-version}
@@ -145,10 +146,12 @@ com.fasterxml.jackson.dataformat.yaml = 
com.fasterxml.jackson.dataformat:jackson
 com.fasterxml.jackson.dataformat.csv = 
com.fasterxml.jackson.dataformat:jackson-dataformat-csv:${jackson2-version}
 com.google.gson = com.google.code.gson:gson:${gson-version}
 com.alibaba.fastjson = com.alibaba:fastjson:${fastjson-version}
-org.eclipse.yasson = org.eclipse:yasson:${yasson-version}
+# Yasson publishes as org.eclipse.yasson:yasson since 3.0.5 
(org.eclipse:yasson is a relocation pom from there on);
+# a branch on 3.0.4 or earlier needs org.eclipse:yasson
+org.eclipse.yasson = org.eclipse.yasson:yasson:${yasson-version}
 org.yaml.snakeyaml = org.yaml:snakeyaml:${snakeyaml-version}
 org.apache.commons.csv = org.apache.commons:commons-csv:${commons-csv-version}
-com.univocity.parsers = 
com.univocity:univocity-parsers:${univocity-parsers-version}
+com.univocity.parsers = 
com.sonofab1rd:univocity-parsers:${univocity-parsers-version}
 org.apache.avro = org.apache.avro:avro:${avro-version}
 com.google.protobuf = com.google.protobuf:protobuf-java:${protobuf-version}
 org.apache.thrift = org.apache.thrift:libthrift:${libthrift-version}
diff --git 
a/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/download/KnownDependenciesResolverTest.java
 
b/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/download/KnownDependenciesResolverTest.java
index 7ad7b83430e2..15f43fa63f58 100644
--- 
a/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/download/KnownDependenciesResolverTest.java
+++ 
b/dsl/camel-kamelet-main/src/test/java/org/apache/camel/main/download/KnownDependenciesResolverTest.java
@@ -66,8 +66,10 @@ public class KnownDependenciesResolverTest {
         assertGav(resolver, "org.postgresql.ds.PGConnectionPoolDataSource", 
"org.postgresql", "postgresql");
         assertGav(resolver, "org.h2.jdbcx.JdbcDataSource", "com.h2database", 
"h2");
         assertGav(resolver, "com.zaxxer.hikari.HikariConfig", "com.zaxxer", 
"HikariCP");
-        assertGav(resolver, 
"org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory", 
"org.apache.activemq",
+        assertGav(resolver, 
"org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory", 
"org.apache.artemis",
                 "artemis-jakarta-client-all");
+        assertGav(resolver, "org.eclipse.yasson.internal.Unmarshaller", 
"org.eclipse.yasson", "yasson");
+        assertGav(resolver, "com.univocity.parsers.csv.CsvParser", 
"com.sonofab1rd", "univocity-parsers");
         assertGav(resolver, "org.apache.activemq.ActiveMQConnectionFactory", 
"org.apache.activemq", "activemq-client");
         assertGav(resolver, "org.apache.qpid.jms.JmsConnectionFactory", 
"org.apache.qpid", "qpid-jms-client");
         assertGav(resolver, "com.fasterxml.jackson.databind.ObjectMapper", 
"com.fasterxml.jackson.core", "jackson-databind");

Reply via email to