-
Bug
-
Resolution: Done
-
Major
-
CSB-4.8.5
-
None
-
False
-
-
False
-
-
-
-
-
Moderate
-
Very Likely
-
0
Hello,
When migrating from Camel 4.4 to Camel 4.8, I noticed the building times increased between versions.
Checking the TRACE level log entries, I noticed some ones that did not appear before
2025-04-07T14:21:32.190-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/spring-boot-3.3.6.jar 2025-04-07T14:21:32.214-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/spring-boot-autoconfigure-3.3.6.jar 2025-04-07T14:21:32.242-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/logback-classic-1.5.7.jar 2025-04-07T14:21:32.247-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/logback-core-1.5.7.jar2025-04-07T14:21:32.256-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/log4j-to-slf4j-2.23.1.jar 2025-04-07T14:21:32.256-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/log4j-api-2.23.1.jar 2025-04-07T14:21:32.262-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/jul-to-slf4j-2.0.16.jar 2025-04-07T14:21:32.263-05:00 TRACE 193779 --- [main] .c.s.b.FatJarPackageScanResourceResolver : Inspecting nested jar: /tmp/issues/reproducer/csb-app48/target/csb-app48-1.0-SNAPSHOT.jar/!/BOOT-INF/lib/jakarta.annotation-api-2.1.1.jar
The dependency that caused the additional logging and building times increase was
org.apache.camel/camel-console
that was introduced by
org.apache.camel.springboot/camel-kafka-starter
Once the dependency was excluded
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-kafka-starter</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.camel</groupId>
<artifactId>camel-console</artifactId>
</exclusion>
</exclusions>
</dependency>
the build times were back to normal
There are no Sub-Tasks for this issue.