You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2015/09/06 22:46:10 UTC
[jira] [Closed] (MASSEMBLY-624) Multiple attachments with reused
assembly descriptor - classifier for attach should be configurable in
maven-assembly-plugin execution configuration
[ https://issues.apache.org/jira/browse/MASSEMBLY-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MASSEMBLY-624.
------------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results.
> Multiple attachments with reused assembly descriptor - classifier for attach should be configurable in maven-assembly-plugin execution configuration
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MASSEMBLY-624
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-624
> Project: Maven Assembly Plugin
> Issue Type: Improvement
> Affects Versions: 2.3
> Reporter: Sven Ludwig
>
> It should be possible to create multiple assembly products with different classifiers using only one assembly-descriptor.
> Currently, the configuration property classifier is deprecated (and apparently also not honored), and instead, the assembly ID is used as the classifier.
> I suggest to reactivate the classifier property in a way that it becomes possible to define the classifier within the configuration of an execution and thus multiple assembly products may be attached using only one reused assembly-descriptor.
> More about the problem:
> If there is more than one execution with attach true, there will be the warning message artifact 2already attached to project, ignoring duplicate".
> See:
> http://stackoverflow.com/questions/8734706/maven-assembly-plugin-uploading-the-right-zip-file
> Citation: "Even if you have given the zips different finalName values, they still inherit the classifier from the ID in the assembly descriptor."
> http://stackoverflow.com/questions/1326527/maven-assembly-plugin-custom-jar-filenames
> (answer by Rich Seller, scroll down a bit)
> Note that it is not possible to have a variing assembly ID for one assembly-descriptor inside a pom.xml (e.g. it is not possibly to define the assembly ID as a property that has a different value for each execution).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)