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

[regression] ProjectSorter neglects conflicted versions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0-alpha-6
    • None
    • Dependencies
    • None

    Description

      ProjectSorter skips vertexes where versions don't match and thus produces incorrect results.

      For example, if A depends on B:1.0 but B is resolved to 1.1 (via conflict resolution or dependency management) then A->B:1.0 is lost. One suspect could be isSpecificVersion which returns true for 1.0, which isn't a specific version like [1.0], so this vertex gets lost as B:1.0 doesn't exist.

      Attachments

        1. MNG-4854-test.patch
          1 kB
          Mark Hobson

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              markh Mark Hobson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: