Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0-beta-1
-
None
-
Maven version: 2.0-beta-1-SNAPSHOT, Revision: 227347
Description
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>