You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Richard Sand (JIRA)" <ji...@codehaus.org> on 2013/09/05 05:51:52 UTC

[jira] (MSHADE-139) Change the default output file name so that it does not replace the ordinary jar

     [ https://jira.codehaus.org/browse/MSHADE-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Sand updated MSHADE-139:
--------------------------------

    Attachment: patch.txt

This patch file on the 2.1 release adds a parameter called "replaceOriginalArtifact", which defaults to true, but when false tells shade not to overwrite the original artifact. It also adds a check to see if the classifier parameter is set to blank when building the shaded artifact's id - the two features combined allow you to run shade with an output alternative artifact id (and no classifier) and the corresponding dependency-reduced-pom, which the installer plugin can then add to the repository with the specified alternative coordinates.
                
> Change the default output file name so that it does not replace the ordinary jar
> --------------------------------------------------------------------------------
>
>                 Key: MSHADE-139
>                 URL: https://jira.codehaus.org/browse/MSHADE-139
>             Project: Maven Shade Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Benson Margulies
>         Attachments: patch.txt
>
>
> See http://markmail.org/message/kqbvju36nusvydwt
> We could make incremental builds work righter by not overwriting the base jar by default.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira