[ http://jira.codehaus.org/browse/MNG-1286?page=all ]
Lester Ecarma updated MNG-1286: ------------------------------- Attachment: MNG-1286-maven-artifact_b.patch MNG-1286-maven-project_b.patch Please see attached patches (xxx_b.patch) for a possible solution to this issue. > Check exclusions against relocated artifacts > -------------------------------------------- > > Key: MNG-1286 > URL: http://jira.codehaus.org/browse/MNG-1286 > Project: Maven 2 > Type: Improvement > Versions: 2.0 > Reporter: Carlos Sanchez > Assignee: Edwin Punzalan > Fix For: 2.0.1 > Attachments: MNG-1286-maven-artifact_b.patch, > MNG-1286-maven-project_b.patch, MNG-1287-maven-project.patch > > > When using an artifact that was relocated you need to exclude the one used > directly, it doesn't work if you use the final relocated artifact. This is > confusing when you get an artifact in your war but you need to exclude other. > eg. if you don't use exclusions you get jdbc-stdext in the war. Using option > b doesn't work, currently you need to use option a. > <dependency> > <artifactId>commons-dbcp</artifactId> > <groupId>commons-dbcp</groupId> > <version>1.2</version> > <exclusions> > <!-- option a --> > <exclusion> > <artifactId>jdbc</artifactId> > <groupId>jdbc</groupId> > </exclusion> > <!-- option b --> > <exclusion> > <artifactId>jdbc-stdext</artifactId> > <groupId>javax.sql</groupId> > </exclusion> > </exclusions> > </dependency> -- 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]