[ https://issues.apache.org/jira/browse/MASSEMBLY-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14514750#comment-14514750 ]
Rafael Chaves commented on MASSEMBLY-614: ----------------------------------------- Was bitten by this as well. Since it has been broken for so long, people may have started to rely on the buggy behavior, maybe just change the documentation? > useTransitiveFiltering implemented contrarily > --------------------------------------------- > > Key: MASSEMBLY-614 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-614 > Project: Maven Assembly Plugin > Issue Type: Bug > Components: dependencySet > Affects Versions: 2.3 > Reporter: Joerg Schaible > > 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: > {code:xml} > <dependency> > <groupId>com.sun.xml.ws</groupId> > <artifactId>jaxws-rt</artifactId> > <version>2.2.6</version> > </dependency> > {code} > The assembly descriptor is: > {code:xml} > <dependencySet> > <unpack>false</unpack> > <useProjectArtifact>false</useProjectArtifact> > <useTransitiveDependencies>true</useTransitiveDependencies> > <useTransitiveFiltering>false</useTransitiveFiltering> > <includes> > <include>*:jaxws*</include> > </includes> > </dependencySet> > {code} > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)