[ http://jira.codehaus.org/browse/MASSEMBLY-99?page=all ]
John Casey closed MASSEMBLY-99.
-------------------------------
Resolution: Fixed
You should be able to redirect module-dependencies using a moduleSet with its
own outputDirectory, and containing within it a set of DependencySets with
their own outputDirectory specifications.
See src/it/dependency-sets/massembly-99 for an example of this.
BTW, if you use <includeDependencies>true</includeDependencies> then the
outputDirectory and so forth is still inherited from the moduleSet.
> dependencySets in a descriptor doesn't work anymore
> ---------------------------------------------------
>
> Key: MASSEMBLY-99
> URL: http://jira.codehaus.org/browse/MASSEMBLY-99
> Project: Maven 2.x Assembly Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Environment: all
> Reporter: Olivier Lamy
> Assigned To: John Casey
> Priority: Blocker
> Fix For: 2.2
>
> Attachments: assembly-spike-1.0.zip, descriptor.xml
>
>
> I attached my descriptor file.
> <dependencySets>
> <dependencySet>
> <outputDirectory>lib</outputDirectory>
> <unpack>false</unpack>
> <scope>runtime</scope>
> <!--
> how to exclude dependencies
> <excludes>
> <exclude>junit:junit</exclude>
> </excludes>
> -->
> </dependencySet>
> </dependencySets>
> unzip -l on the assembly file show empty lib directory.
> Olivier
--
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