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

Multiple includes in dependencySet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-1
    • 2.2-beta-2, 2.2-beta-3
    • None
    • None
    • Maven version: 2.0.7
      Java version: 1.6.0_02
      OS name: "linux" version: "2.6.18-gentoo-r4" arch: "i386"

    Description

      When you specify multiple include elements inside an includes for a dependencySet it only uses the first include statement

      This works

      <dependencySet>
      <outputDirectory>/lib/ext</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
      <includes>
      <include>com.revolsys.jump:*</include>
      </includes>
      </dependencySet>
      <dependencySet>
      <outputDirectory>/lib/ext</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
      <includes>
      <include>com.revolsys.gis:*</include>
      </includes>
      </dependencySet>

      This does not

      <dependencySet>
      <outputDirectory>/lib/ext</outputDirectory>
      <unpack>false</unpack>
      <scope>runtime</scope>
      <includes>
      <include>com.revolsys.jump:*</include>
      <include>com.revolsys.gis:*</include>
      </includes>
      </dependencySet>

      There are dependencies from the jump package to the gis package

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            p_d_austin Paul Austin
            Votes:
            11 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: