Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-19440

Manage caffeine to build and test with a single deterministic version

    XMLWordPrintableJSON

Details

    • Dependency upgrade
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0-RC1, 4.0.0
    • None
    • None
    • Unknown

    Description

      There is caffeine-version at 3.1.6 in camel-parent and it is currently used only in camel-caffeine. However, caffeine is pulled by a few more components transitively:

      [WARNING] Found org.apache.camel:camel-caffeine:4.0.0-SNAPSHOT:jar:
              -> com.github.ben-manes.caffeine:caffeine:3.1.6:jar:
      [WARNING] Found org.apache.camel:camel-corda:4.0.0-SNAPSHOT:jar:
              -> net.corda:corda-rpc:4.10:jar:
              -> com.github.ben-manes.caffeine:caffeine:2.9.3:jar:
      [WARNING] Found org.apache.camel:camel-debezium-oracle:4.0.0-SNAPSHOT:jar:
              -> io.debezium:debezium-connector-oracle:2.2.1.Final:jar:
              -> org.infinispan:infinispan-core-jakarta:14.0.4.Final:jar:
              -> com.github.ben-manes.caffeine:caffeine:3.1.1:jar:
      [WARNING] Found org.apache.camel:camel-infinispan-common:4.0.0-SNAPSHOT:jar:
              -> org.infinispan:infinispan-commons-jakarta:14.0.9.Final:jar:
              -> com.github.ben-manes.caffeine:caffeine:3.1.1:jar:
      [WARNING] Found org.apache.camel:camel-infinispan-embedded:4.0.0-SNAPSHOT:jar:
              -> com.github.ben-manes.caffeine:caffeine:2.9.3:jar:
      [WARNING] Found org.apache.camel:camel-infinispan:4.0.0-SNAPSHOT:jar:
              -> org.apache.camel:camel-infinispan-common:4.0.0-SNAPSHOT:jar:
              -> org.infinispan:infinispan-commons-jakarta:14.0.9.Final:jar:
              -> com.github.ben-manes.caffeine:caffeine:3.1.1:jar:
      [WARNING] Found org.apache.camel:camel-ldif:4.0.0-SNAPSHOT:jar:
              -> org.apache.directory.server:apacheds-core-api:2.0.0.AM26:jar:
              -> com.github.ben-manes.caffeine:caffeine:2.7.0:jar:
      [WARNING] Found org.apache.camel:camel-jbang-core:4.0.0-SNAPSHOT:jar:
              -> org.openapitools:openapi-generator:6.2.1:jar:
              -> com.github.ben-manes.caffeine:caffeine:2.8.1:jar:
      [WARNING] Found org.apache.camel:camel-jbang-main:4.0.0-SNAPSHOT:jar:
              -> org.apache.camel:camel-jbang-core:4.0.0-SNAPSHOT:jar:
              -> org.openapitools:openapi-generator:6.2.1:jar:
              -> com.github.ben-manes.caffeine:caffeine:2.8.1:jar:
      

      As seen above, several different versions are pulled. This leads to testing and runtime inconsistencies.

      Attachments

        Issue Links

          Activity

            People

              ppalaga Peter Palaga
              ppalaga Peter Palaga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: