You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2008/02/25 20:26:30 UTC

[jira] Updated: (MASSEMBLY-280) Regression: Dependency resolution for dependencySets does broken things

     [ http://jira.codehaus.org/browse/MASSEMBLY-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Casey updated MASSEMBLY-280:
---------------------------------

    Fix Version/s: 2.2-beta-3

> 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
>             Fix For: 2.2-beta-3
>
>
> 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