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

need better support for unpack

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.2-beta-1
    • None
    • None

    Description

      Currently when specifiying a dependency set inside an assembly descriptor, if one requires the unpack element to be true, then the unpacking is restricted to the output directory. I have a scenario in which I need to use the unpack element in conjuction with the outputFileNameMapping element.

      I would like to request that the outputFileNameMapping be treated as a folder to extract into and appended to the outputDirectory.

      So given dependency "foo-1.0.jar", I need a way to extract this into "outputDirectory/foo_1.0/", and since the outputDirectory cannot take properties such as artifactID, and artifactVersion, need a way to plugin this "property support", and making use of the outputFileNameMapping would provide a nice way to handle this.

      Attachments

        Activity

          People

            jdcasey John Dennis Casey
            sppatel Sachin Pravin Patel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: