Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
2.0-beta-1
-
None
-
Windows XP, Cygwin
Description
The attached zip sets up the following project hierarchy:
main.war projecta shared:1.0 librarya projectb projectc shared:2.0 libraryb
From what I understand of dependency mediation shared:2.0 should be chosen in preference to shared:1.0, and hence libraryb should be included instead of librarya. Using the latest m2 the main.war WEB-INF/lib contains:
projecta
projectb
projectc
shared:2.0
librarya
libraryb
Thus librarya is included when it shouldn't be.