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 1b0dc591e5f9 chore: camel-kamelet-main - map the jolt-community
package that camel-jolt uses (#27290)
1b0dc591e5f9 is described below
commit 1b0dc591e5f975ef575f7d915f173a653c6e27ae
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Oct 2 16:26:46 2026 +0200
chore: camel-kamelet-main - map the jolt-community package that camel-jolt
uses (#27290)
The known third-party libraries mapped com.bazaarvoice.jolt to
com.bazaarvoice.jolt:jolt-core:${jolt-version}.
Since camel-jolt switched to the jolt-community fork (CAMEL-24806),
jolt-version is 1.3.0, a version the old
bazaarvoice artifact never had, so the mapping pointed to an artifact that
does not exist. The fork also moved
to the io.joltcommunity.jolt package, which was not mapped. It now maps
io.joltcommunity.jolt to
io.github.jolt-community.jolt:jolt-community-core, and
-Dcamel.known-dependencies.verify=true passes again.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Signed-off-by: Claus Ibsen <[email protected]>
---
dsl/camel-kamelet-main/src/main/known-third-party-libraries.properties | 2 +-
.../org/apache/camel/main/download/KnownDependenciesResolverTest.java | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
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 7828178f03e7..5d5af36a9217 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
@@ -155,7 +155,7 @@ com.univocity.parsers =
com.sonofab1rd:univocity-parsers:${univocity-parsers-ver
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}
-com.bazaarvoice.jolt = com.bazaarvoice.jolt:jolt-core:${jolt-version}
+io.joltcommunity.jolt =
io.github.jolt-community.jolt:jolt-community-core:${jolt-version}
com.schibsted.spt.data.jslt = com.schibsted.spt.data:jslt:${jslt-version}
net.thisptr.jackson.jq = net.thisptr:jackson-jq:${jackson-jq-version}
org.xmlunit = org.xmlunit:xmlunit-core:${xmlunit-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 15f43fa63f58..59b0219bcbff 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
@@ -80,6 +80,8 @@ public class KnownDependenciesResolverTest {
assertGav(resolver, "org.infinispan.client.hotrod.RemoteCacheManager",
"org.infinispan", "infinispan-client-hotrod");
assertGav(resolver, "org.infinispan.manager.DefaultCacheManager",
"org.infinispan", "infinispan-core");
assertGav(resolver, "freemarker.template.Configuration",
"org.freemarker", "freemarker");
+ // the jolt-community fork that camel-jolt uses, not the old
bazaarvoice library
+ assertGav(resolver, "io.joltcommunity.jolt.Chainr",
"io.github.jolt-community.jolt", "jolt-community-core");
// a shared parent package is deliberately not mapped
assertEquals(null,
resolver.mavenGavForClass("org.apache.commons.Anything"));
}