Uploaded image for project: 'Red Hat build of Apache Camel for Spring Boot'
  1. Red Hat build of Apache Camel for Spring Boot
  2. CSB-468

Duplicate com.fasterxml.jackson.datatype:jackson-datatype-jsr310 reported in marete

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • csb-3.20
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      There are a number of duplicate jackson artifacts being reported by marete (jackson-base, jackson-datatype-jsr310, jackson-modules-java8, com.fasterxml.jackson.core:jackson-core, com.fasterxml.jackson.core:jackson-annotations).      The two versions being brought in are below : ["2.12.1.redhat-00002", "2.9.10.redhat-00005"]
      00:33:41 [ERROR] uniqueArtifacts(org.jboss.qa.marete.MavenRepoTest) Time elapsed: 6.167 s <<< FAILURE!00:33:41 java.lang.AssertionError: 00:33:41 [There must be no duplicates for com.fasterxml.jackson.datatype:jackson-datatype-jsr310] 00:33:41 Expected size: 1 but was: 2 in:00:33:41 ["2.12.1.redhat-00002", "2.9.10.redhat-00005"]00:33:41 at MavenRepoTest.lambda$uniqueArtifacts$35(MavenRepoTest.java:404)
      It looks like the 2.9.10.redhat-00005 is being brought in from org.springframework.boot:spring-boot-starter-json:jar:2.6.6 :

      Downloaded artifact com.fasterxml.jackson.datatype:jackson-datatype-jsr310:pom::2.9.10.redhat-00005 (repository: fuse-repository (http://10.0.144.111:8081/repository/maven-public/, default, releases+snapshots))
         -> org.springframework.boot:spring-boot-starter-json:jar:2.6.6 (compile) (context: project)
           -> org.springframework.boot:spring-boot-starter-web:jar:2.6.6 (compile) (context: project)
             -> org.apache.camel.springboot.example:camel-example-spring-boot-rest-swagger:jar:3.14.2.redhat-00001 (context: project)
        Reading descriptor for artifact com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar::2.9.10.redhat-00005 (context: project) (scope: ?) (repository: fuse-repository (http://10.0.144.111:8081/repository/maven-public/, default, releases+snapshots))
          Transitive dependencies collection for org.apache.camel.springboot.example:camel-example-spring-boot-rest-swagger:jar:3.14.2.redhat-00001

      The 2.12.1.redhat-00002 versions look like they are appearing in the build log in spring-boot-openapi-java-starter :
      [INFO] — camel-spring-boot-generator-maven-plugin:3.14.2.redhat-00032:prepare-spring-boot-starter (generate) @ camel-openapi-java-starter —
       

       

       

            tcunning@redhat.com Thomas Cunningham
            tcunning@redhat.com Thomas Cunningham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: