[ http://jira.codehaus.org/browse/MASSEMBLY-132?page=all ]
John Casey closed MASSEMBLY-132.
--------------------------------
Assignee: John Casey
Resolution: Fixed
Fix Version/s: 2.2
verified in src/it/dependency-sets/dependencySet-matchScope
> Assembly for multi-project ignoring specified scope
> ---------------------------------------------------
>
> Key: MASSEMBLY-132
> URL: http://jira.codehaus.org/browse/MASSEMBLY-132
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: All
> Reporter: Vinod Panicker
> Assigned To: John Casey
> Priority: Critical
> Fix For: 2.2
>
>
> After converting my project to a multi-project, the assembly plugin fails to
> filter out dependency jars that have a scope other than runtime, even when
> the scope in the descriptor is explicitly provided. My dep.xml -
> <dependencySets>
> <dependencySet>
> <outputDirectory>mims-${version}/lib</outputDirectory>
> <unpack>false</unpack>
> <scope>runtime</scope>
> </dependencySet>
> </dependencySets>
> I even tried putting exclude statements in the <moduleSet/> <binaries/>
> section, but even that doesn't work. As a result, the assembly is littered
> with unnecessary jars such as junit.
--
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