Maven 2 & 3

local pom dependencies should get injected before inherited dependencies

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0.9
  • Fix Version/s: 2.0.9
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

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.

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: