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

Allow specifying descriptors via a property

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • component descriptor
    • None

    Description

      It's currently not possible to specify a descriptor via a property. This means that it's necessary to configure the assembly plugin within the project's POM. This would not normally be a problem, but I'm trying to use the assembly plugin to package up an arbitrary project's artifacts (including all of the run-time dependencies) without editing the project's POM files.

      It would be great if I could do:

      $ mvn org.apache.maven.plugins:maven-assembly-plugin:3.1.1-SNAPSHOT:single -Dassembly.descriptors=/tmp/magic-copying-descriptor.xml
      

      Stay tuned for a patch!

      Attachments

        Activity

          People

            Unassigned Unassigned
            io7m Mark Raynsford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: