Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1
-
None
-
None
-
All
Description
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.