[ http://jira.codehaus.org/browse/MNG-705?page=all ] Brett Porter closed MNG-705: ----------------------------
Resolution: Fixed Fix Version: (was: 2.0-beta-3) 2.0-beta-2 works due to other changes > Declared dependency is not included when there exist an exclusion of the > artifact in another dependency > ------------------------------------------------------------------------------------------------------- > > Key: MNG-705 > URL: http://jira.codehaus.org/browse/MNG-705 > Project: Maven 2 > Type: Bug > Components: maven-artifact > Versions: 2.0-beta-1 > Environment: Maven version: 2.0-beta-1-SNAPSHOT, Revision: 227347 > Reporter: Kristian Nordal > Assignee: Brett Porter > Priority: Minor > Fix For: 2.0-beta-2 > > Original Estimate: 1 hour > Remaining: 1 hour > > I have declared a dependency (commons-collections), but I also have an > exclusion of commons-collections in another dependency. In this case > commons-collection is not added to the classpath. Part of my POM: > <project> > ... > <dependencies> > ... > <!-- Hibernate --> > <dependency> > <groupId>hibernate</groupId> > <artifactId>hibernate</artifactId> > <version>3.0.5</version> > <exclusions> > ... > <exclusion> > <groupId>commons-collections</groupId> > <artifactId>commons-collections</artifactId> > </exclusion> > ... > </exclusions> > ... > <dependency> > <groupId>commons-collections</groupId> > <artifactId>commons-collections</artifactId> > <version>3.1</version> > </dependency> > </dependencies> > ... > </project> -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]