Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-614

useTransitiveFiltering implemented contrarily

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • dependencySet
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              joehni Joerg Schaible
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated: