Regression: Dependency resolution for dependencySets does broken things
-----------------------------------------------------------------------
Key: MASSEMBLY-280
URL: http://jira.codehaus.org/browse/MASSEMBLY-280
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Affects Versions: 2.2-beta-1
Environment: Maven 2.0.8
Reporter: Max Bowsher
Priority: Blocker
With this POM:
{code:xml}
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>test</groupId>
<artifactId>test</artifactId>
<version>0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>commons-jxpath</groupId>
<artifactId>commons-jxpath</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
{code}
run:
{noformat}
mvn org.apache.maven.plugins:maven-assembly-plugin:VERSION:assembly
-DdescriptorId=jar-with-dependencies
{noformat}
VERSION = 2.1 -> as expected, junit is not included because it is scope test
VERSION = 2.2-beta-1 or 2.2-beta-2-SNAPSHOT -> junit is erroneously included in
jar-with-dependencies.
--
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