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

moduleSet dependencies processed incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • 2.2.1
    • None
    • moduleSet
    • None
    • any

    Description

      Following configuration:

              <moduleSet>
                  <includes>
                      <include>com.example:extra-hiper-app</include>
                  </includes>
                  <binaries>
                      <outputFileNameMapping>my-app.${extension}</outputFileNameMapping>
                      <outputDirectory>output/lib</outputDirectory>
                      <unpack>false</unpack>
      
                      <includeDependencies>true</includeDependencies>
                      <dependencySets>
                          <dependencySet>
                              <outputFileNameMapping>${artifactId}-${version}.${extension}</outputFileNameMapping>
                          </dependencySet>
                      </dependencySets>
                  </binaries>
              </moduleSet>
      

      Results in bunch of:

      [INFO] lib/my-app-0.0.1.${extension} already added, skipping
      

      with assembly plugin in version 2.2.1

      NOTE: but it works correctly (and as expected with version: 2.2-beta-1)

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            istocia Paul Green
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: