You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2010/08/16 08:40:32 UTC

[jira] Updated: (MWAR-220) dependencyManagement && overlay + transitive dependency = multiple versions of same dependency in WEB-INF/lib

     [ http://jira.codehaus.org/browse/MWAR-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll updated MWAR-220:
---------------------------------

    Component/s: overlay

> dependencyManagement && overlay + transitive dependency = multiple versions of same dependency in WEB-INF/lib
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MWAR-220
>                 URL: http://jira.codehaus.org/browse/MWAR-220
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>          Components: overlay
>         Environment: Reproduced this on: 2.0.11, 2.1.0, 2.2.1, 3.0-alpha-7
>            Reporter: jieryn
>         Attachments: pom.xml
>
>
> With dependencyManagement section defined I get multiple versions of spring libraries in target/cas-*/WEB-INF/lib after mvn package. If I remove the dependencyManagement section then only one version of the spring libraries are found.
> There seems to be a problem with m-war-p and overlays and dependencyManagement not using the maven GAV resolver in a proper way.. I attached a simple pom which exhibits the problem, just run mvn package to verify.

-- 
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