maven-assembly-plugin icon indicating copy to clipboard operation
maven-assembly-plugin copied to clipboard

[MASSEMBLY-896] Allow specifying descriptors via a property

Open jira-importer opened this issue 7 years ago • 1 comments

Mark Raynsford opened MASSEMBLY-896 and commented

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!


Affects: 3.1.0

jira-importer avatar Oct 22 '18 10:10 jira-importer