From 9f091de66478a6d1be359b125bc5ddfde3029037 Mon Sep 17 00:00:00 2001 From: Claus Ibsen Date: Sun, 15 Nov 2026 21:58:00 +0100 Subject: [PATCH] chore: camel-launcher - the CLI distribution no longer ships lombok, nor commons-logging next to jcl-over-slf4j lombok (2 MB) came with openapi-generator, whose pom has it in the compile scope. Its classes only refer to @lombok.Generated, which has CLASS retention, so nothing loads lombok at runtime. commons-logging (1.2 from httpclient, 1.3.5 from spring-core) has the same org.apache.commons.logging classes as jcl-over-slf4j, which the launcher declares, so the first of the two on the class path won. Now there is only jcl-over-slf4j. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Claus Ibsen --- .../camel-jbang-plugin-generate/pom.xml | 6 ++++++ dsl/camel-jbang/camel-launcher/pom.xml | 14 ++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml b/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml index a579b9e1a218f..01525f3453a5f 100644 --- a/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml +++ b/dsl/camel-jbang/camel-jbang-plugin-generate/pom.xml @@ -86,6 +86,12 @@ org.slf4j slf4j-simple + + + org.projectlombok + lombok + diff --git a/dsl/camel-jbang/camel-launcher/pom.xml b/dsl/camel-jbang/camel-launcher/pom.xml index 6681bad327dfc..73da9f18d023e 100644 --- a/dsl/camel-jbang/camel-launcher/pom.xml +++ b/dsl/camel-jbang/camel-launcher/pom.xml @@ -88,6 +88,13 @@ org.apache.camel camel-jbang-core ${project.version} + + + + commons-logging + commons-logging + + @@ -254,6 +261,13 @@ org.apache.httpcomponents httpclient ${httpclient-version} + + + + commons-logging + commons-logging + + org.apache.httpcomponents