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 2009/06/13 00:18:42 UTC
[jira] Closed: (MNG-4180) [regression] Dependency exclusions are
applied globally
[ http://jira.codehaus.org/browse/MNG-4180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4180.
----------------------------------
Assignee: Benjamin Bentmann
Resolution: Fixed
Fix Version/s: 3.0-alpha-3
Fixed in [r784296|http://svn.apache.org/viewvc?view=rev&revision=784296].
> [regression] Dependency exclusions are applied globally
> -------------------------------------------------------
>
> Key: MNG-4180
> URL: http://jira.codehaus.org/browse/MNG-4180
> Project: Maven 2
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 3.0-alpha-3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Fix For: 3.0-alpha-3
>
>
> Scenario:
> {code:xml}
> <dependencies>
> <dependency>
> <groupId>org.apache.maven.its.mng4180</groupId>
> <artifactId>a</artifactId>
> <version>0.1</version>
> <exclusions>
> <exclusion>
> <groupId>org.apache.maven.its.mng4180</groupId>
> <artifactId>b</artifactId>
> </exclusion>
> </exclusions>
> </dependency>
> <dependency>
> <groupId>org.apache.maven.its.mng4180</groupId>
> <artifactId>c</artifactId>
> <version>0.1</version>
> </dependency>
> </dependencies>
> {code}
> If b is a transitive dependency of c, the exclusion defined in a will also affect c, i.e. the class path would miss b although it's not excluded on c.
--
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