I am using the Assembly plugin for maven to create the installation package.
For my packaging requirements, I need to break the artifacts created during assembly and all the dependencies into separate folders.
My current Assembly manifest is as follows:
<moduleSets> <moduleSet> <includes> <include>test:test</include> </includes> <binaries> <includeDependencies>false</includeDependencies> <outputDirectory>lib/custom/${artifactId}</outputDirectory> <unpack>false</unpack> </binaries> </moduleSet> <moduleSet> <includes> <include>test:test</include> </includes> <binaries> <includeDependencies>true</includeDependencies> <excludes> <exclude>test:test</exclude> </excludes> <outputDirectory>lib/thirdParty/</outputDirectory> <unpack>false</unpack> </binaries> </moduleSet> </moduleSets>
The first module correctly generates only the assembly that is currently assembled. However, thirdParty also includes the build now. How can I exclude files already included in the first set?
thanks
source share