Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3667

Dependencies resolution is wrong in some cases (xfire-core:1.2.6 for example)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.0.10
    • 2.1.0-M1
    • Dependencies
    • None
    • 2.0.10-RC1

    Description

      With RC1, maven tries to download this dependency org/apache/ws/commons/XmlSchema/SNAPSHOT/XmlSchema-SNAPSHOT.jar whereas with 2.0.9 it retreives the version 1.1.
      What I have is a project with a dependency to org.codehaus.xfire:xfire-core:1.2.6
      In the xfire-core pom we have a dependency to org.apache.ws.commons:XmlSchema
      The version 1.1 is set in the dependencyManagement of the parent.

      A testcase is attached

      Attachments

        1. xfire-maven-2.0.10.zip
          2 kB
          Arnaud Heritier

        Activity

          People

            jdcasey John Dennis Casey
            aheritier Arnaud Heritier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: