exclusion of a dependency prevents the dependency being added normally ----------------------------------------------------------------------
Key: MNG-2354 URL: http://jira.codehaus.org/browse/MNG-2354 Project: Maven 2 Type: Bug Components: Dependencies Reporter: Jorg Heymans Consider following usecase: <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils-core</artifactId> <version>1.7.0</version> </dependency> <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> <version>1.2</version> <exclusions> <exclusion> <artifactId>commons-beanutils-core</artifactId> <groupId>commons-beanutils</groupId> </exclusion> </dependency> Above pom configuration to me says: ignore the transitive dependency on commons-beanutils-core brought in by commons-configurations because i would like to define and use my own. However this configuration excludes commons-beanutils-core completely, eg in a war build it's not included as a dependency anymore. -- 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