You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2026/10/12 17:24:40 UTC

(camel) branch camel-4.22.x updated: chore: camel-kamelet-main - remove the jackson-annotations known dependency and the unused jackson2-annotations-version (4.22.x) (#27738)

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

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


The following commit(s) were added to refs/heads/camel-4.22.x by this push:
     new 8dfae2fa437c chore: camel-kamelet-main - remove the jackson-annotations known dependency and the unused jackson2-annotations-version (4.22.x) (#27738)
8dfae2fa437c is described below

commit 8dfae2fa437c21632729e3be9930968243683647
Author: Federico Mariani <34...@users.noreply.github.com>
AuthorDate: Mon Oct 12 19:24:31 2026 +0200

    chore: camel-kamelet-main - remove the jackson-annotations known dependency and the unused jackson2-annotations-version (4.22.x) (#27738)
    
    Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>
---
 .../src/main/resources/camel-main-known-dependencies.properties        | 1 -
 .../org/apache/camel/main/download/KnownDependenciesResolverTest.java  | 3 ---
 parent/pom.xml                                                         | 1 -
 3 files changed, 5 deletions(-)

diff --git a/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties b/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties
index e8671780865b..9684d07a0513 100644
--- a/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties
+++ b/dsl/camel-kamelet-main/src/main/resources/camel-main-known-dependencies.properties
@@ -79,4 +79,3 @@ org.apache.qpid.jms.JmsConnectionFactory = org.apache.qpid:qpid-jms-client:${qpi
 org.messaginghub.pooled.jms.JmsPoolConnectionFactory = org.messaginghub:pooled-jms:${pooled-jms-version}
 org.postgresql.Driver = org.postgresql:postgresql:${pgjdbc-driver-version}
 org.postgresql.ds.PGSimpleDataSource = org.postgresql:postgresql:${pgjdbc-driver-version}
-com.fasterxml.jackson.annotation = com.fasterxml.jackson.core:jackson-annotations:${jackson2-annotations-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 fbe5b767eae8..1fe94dd3ae12 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
@@ -88,9 +88,6 @@ public class KnownDependenciesResolverTest {
         // a sub package of another component's package wins for its own classes
         assertImport(resolver, "org.apache.camel.component.file.remote.SftpConstants", "camel-ftp");
         assertImport(resolver, "org.apache.camel.component.file.GenericFile", "camel-file");
-        // the libraries still resolve as before
-        assertGav(resolver, "com.fasterxml.jackson.annotation.JsonProperty", "com.fasterxml.jackson.core",
-                "jackson-annotations");
         // a component in a base package does not claim every class in it
         assertNull(resolver.mavenGavForImport("org.apache.camel.Exchange"));
         assertNull(resolver.mavenGavForImport("org.apache.camel.component.Anything"));
diff --git a/parent/pom.xml b/parent/pom.xml
index 40a46543a58a..46cbb49ef1b5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -256,7 +256,6 @@
         <jackson-databind-nullable-version>0.2.9</jackson-databind-nullable-version>
         <jackson-jq-version>1.6.2</jackson-jq-version>
         <jackson2-version>2.22.1</jackson2-version>
-        <jackson2-annotations-version>2.20</jackson2-annotations-version>
         <jackson3-version>3.2.1</jackson3-version>
         <jackrabbit-version>2.22.3</jackrabbit-version>
         <jasminb-jsonapi-version>0.15</jasminb-jsonapi-version>