You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/11/21 22:36:03 UTC
[jira] Closed: (MNG-3775) [regression] Problem in dependency
resolution with exclusion, pom parent
[ http://jira.codehaus.org/browse/MNG-3775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-3775.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: Issues to be reviewed for 3.x)
3.0
Assignee: Benjamin Bentmann
Relevant dirty tree:
{noformat}
[INFO] maven-test:second:jar:1.0-SNAPSHOT
[INFO] +- org.jboss.seam:jboss-seam-debug:jar:2.0.2.SP1:compile
[INFO] | \- (org.jboss.seam:jboss-seam:jar:2.0.2.SP1:compile - omitted for duplicate) <-------------\
[INFO] | +- javassist:javassist:jar:3.3.GA:compile |
[INFO] | +- dom4j:dom4j:jar:1.6.1-jboss:compile |
[INFO] | | \- xml-apis:xml-apis:jar:1.0.b2:compile |
[INFO] | \- org.jboss.el:jboss-el:jar:2.0.1.GA:compile | disables
[INFO] | \- javax.el:el-api:jar:1.0:compile ------------------------------------------------\ |
[INFO] +- maven-test:first:jar:1.0-SNAPSHOT:test disables | |
[INFO] | \- (javax.el:el-api:jar:1.0:compile - scope updated from test; omitted for duplicate) <--/ |
[INFO] \- org.jboss.seam:jboss-seam:jar:2.0.2.SP1:compile -------------------------------------------/
[INFO] +- javassist:javassist:jar:3.3.GA:compile
[INFO] +- dom4j:dom4j:jar:1.6.1-jboss:compile
[INFO] | \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] \- org.jboss.el:jboss-el:jar:2.0.1.GA:compile
{noformat}
The issue depends on the dependency order which makes it erroneously appear as a regression due to MNG-1412.
> [regression] Problem in dependency resolution with exclusion, pom parent
> ------------------------------------------------------------------------
>
> Key: MNG-3775
> URL: http://jira.codehaus.org/browse/MNG-3775
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 2.0.9
> Reporter: Bertrand Paquet
> Assignee: Benjamin Bentmann
> Fix For: 3.0
>
> Attachments: bug_maven.zip, bug_maven_test.zip
>
>
> See projects in attachement.
> Parent projet uses SEAM pom parent, and declares jboss-seam as dependency, excluding javax.el
> First project uses parent project, and declares javax.el as dependency
> mvn dependency:list on first, you can see javax.el
> Second project uses parent project, and declares first project as dependency. It should have javax.el on classpath (because of first project), but it doesn't.
> mvn dependency:list on second, javax.el disappears !
--
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