[ http://jira.codehaus.org/browse/MNG-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MNG-820: ---------------------------------- Description: The attached zip sets up the following project hierarchy: {noformat} main.war projecta shared:1.0 librarya projectb projectc shared:2.0 libraryb {noformat} >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. was: 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. > Over-zealous transitive dependencies during mediation > ----------------------------------------------------- > > Key: MNG-820 > URL: http://jira.codehaus.org/browse/MNG-820 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0-beta-1 > Environment: Windows XP, Cygwin > Reporter: Mark Hobson > Assignee: Brett Porter > Priority: Blocker > Fix For: 2.0-beta-2 > > Attachments: test.zip > > Original Estimate: 2 hours > Time Spent: 2 hours > Remaining Estimate: 0 minutes > > The attached zip sets up the following project hierarchy: > {noformat} > main.war > projecta > shared:1.0 > librarya > projectb > projectc > shared:2.0 > libraryb > {noformat} > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira