You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2019/12/20 14:57:00 UTC

[jira] [Commented] (MASSEMBLY-614) useTransitiveFiltering implemented contrarily

    [ https://issues.apache.org/jira/browse/MASSEMBLY-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17000945#comment-17000945 ] 

Elliotte Rusty Harold commented on MASSEMBLY-614:
-------------------------------------------------

worth looking at

> 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
>            Priority: Major
>
> 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
(v8.3.4#803005)