Maven build broken by exclusions on JUnit
-----------------------------------------
Key: QPID-297
URL: https://issues.apache.org/jira/browse/QPID-297
Project: Qpid
Issue Type: Bug
Components: Maven build system
Reporter: Rupert Smith
This seems to be due to the exclusion of junit (3.7.1) as an incorrect depency
of commons-lang:
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.1</version>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
Accoring to the article below, the exclusion from common-lang should not affect
anything else. So the seperate declaration for junit 3.8.1 should not be wiped
out by this. Removing the exclusion gets my build working though.
http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html
Looks like a maven bug, can I suggest putting exclusions in the assembly
descriptors instead?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira