maven-assembly-plugin
maven-assembly-plugin copied to clipboard
[MASSEMBLY-614] useTransitiveFiltering implemented contrarily
Joerg Schaible opened MASSEMBLY-614 and commented
useTransitiveFiltering is implemented wrongly, it filters when set to false and does not filter when set to true.
One of the declared dependencies in the project is this:
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>2.2.6</version>
</dependency>
The assembly descriptor is:
<dependencySet>
<unpack>false</unpack>
<useProjectArtifact>false</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
<useTransitiveFiltering>false</useTransitiveFiltering>
<includes>
<include>*:jaxws*</include>
</includes>
</dependencySet>
The result contains only the jar for jaxws-rt, but not its dependencies. Setting useTransitiveFiltering to true, then all dependencies are included. It works quite contrary to the documentation and the implicit property name.
Affects: 2.3
Issue Links:
- MASSEMBLY-864 Dependencies specified in activeByDefault profile not picked up.
4 votes, 10 watchers