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

local pom dependencies should get injected before inherited dependencies

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.9
    • Fix Version/s: 2.0.9
    • Labels:
      None

      Description

      In 2.0.9, we introduced deterministic ordering of dependencies by using linkedHashMaps. When a conflict occurs at the same depth, Maven prefers the first one found. This means that we need to insert the direct dependencies into this list before the inherited ones. Otherwise we have effectively inverted the standard local wins convention.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jdcasey John Dennis Casey
                Reporter:
                brianf Brian E Fox
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: