[ 
http://jira.codehaus.org/browse/MNG-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159060#action_159060
 ] 

Benjamin Bentmann commented on MNG-3922:
----------------------------------------

A workaround is to change the order of the plugins in the POMs, i.e. have the 
maven-sources-plugin (and other plugin that forks a lifecycle) execute after 
the maven-shade-plugin.

> Attaching classified artifacts not working properly
> ---------------------------------------------------
>
>                 Key: MNG-3922
>                 URL: http://jira.codehaus.org/browse/MNG-3922
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9, 2.1.0-M1
>         Environment: windows
>            Reporter: Max Powers
>             Fix For: 2.0.10, 2.1.0-M2
>
>         Attachments: pom.xml, pom.xml
>
>
> We are using the shade plugin to build a couple of cli classifier artifacts 
> for the nexus-indexer, however, these artifacts aren't attached properly in 
> mvn 2.0.9 (or the 2.0.10-RC5).  They do get attached properly in mvn 2.0.8 
> and mvn 3.x.
> I have attached the pom file where we are using the shade plugin to build 2 
> seperate attached classifier artifacts.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to