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

        

Reply via email to