You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Joerg Schaible (JIRA)" <ji...@codehaus.org> on 2012/06/05 12:47:21 UTC

[jira] (MASSEMBLY-614) useTransitiveFiltering implemented contrarily

Joerg Schaible created MASSEMBLY-614:
----------------------------------------

             Summary: useTransitiveFiltering implemented contrarily
                 Key: MASSEMBLY-614
                 URL: https://jira.codehaus.org/browse/MASSEMBLY-614
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] (MASSEMBLY-614) useTransitiveFiltering implemented contrarily

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MASSEMBLY-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MASSEMBLY-614:
--------------------------------------

    Component/s: dependencySet
    
> useTransitiveFiltering implemented contrarily
> ---------------------------------------------
>
>                 Key: MASSEMBLY-614
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-614
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>          Components: dependencySet
>    Affects Versions: 2.3
>            Reporter: Jörg 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] (MASSEMBLY-614) useTransitiveFiltering implemented contrarily

Posted by "Felix Martin Martin (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MASSEMBLY-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312355#comment-312355 ] 

Felix Martin Martin commented on MASSEMBLY-614:
-----------------------------------------------

It also affects to version 2.2.1
                
> useTransitiveFiltering implemented contrarily
> ---------------------------------------------
>
>                 Key: MASSEMBLY-614
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-614
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Jörg 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira