Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2580

Duplicated dependencies in maven project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.12.0.Final
    • 3.11.2.Final, 3.12.0.Final
    • None
    • None

      There are few duplicated dependencies throughout the project in 3.x branches so this jira is to remove them.

      Eg. https://travis-ci.org/github/resteasy/Resteasy/jobs/669965535

      [INFO] Scanning for projects...
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy:resteasy-dependencies:pom:3.12.0-SNAPSHOT
      [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.github.tomakehurst:wiremock:jar -> duplicate declaration of version ${version.com.github.tomakehurst.wiremock} @ line 669, column 25
      [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.weld.se:weld-se-core:jar -> version ${version.org.jboss.weld.se.weld-se-core} vs ${version.weld} @ line 874, column 24
      [WARNING] 
      [WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy:resteasy-client:jar:3.12.0-SNAPSHOT
      [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_2.1_spec:jar -> duplicate declaration of version (?) @ line 63, column 21
      [WARNING] 
      [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
      [WARNING] 
      [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
      [WARNING] 
      

              jbliznak@redhat.com Jan Blizňák
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: