[ 
http://jira.codehaus.org/browse/MWAR-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_90347
 ] 

Jochen Wiedmann commented on MWAR-69:
-------------------------------------

The source has changed and it seems that the change has cured the issue. I can 
no longer reproduce the problem. (No, I didn't use a classifier.)

> Secondary artifacts aren't being attached
> -----------------------------------------
>
>                 Key: MWAR-69
>                 URL: http://jira.codehaus.org/browse/MWAR-69
>             Project: Maven 2.x War Plugin
>          Issue Type: Bug
>            Reporter: Jochen Wiedmann
>         Assigned To: Stephane Nicoll
>         Attachments: maven-secondary-artifact.patch
>
>
> If I do configure the maven-war-plugin to create a secondary artifact, then 
> that artifact isn't attached. I do believe, this is because the following 
> code snippet is missing:
> Index: src/main/java/org/apache/maven/plugin/war/WarMojo.java
> ===================================================================
> --- src/main/java/org/apache/maven/plugin/war/WarMojo.java      (revision 
> 433193)
> +++ src/main/java/org/apache/maven/plugin/war/WarMojo.java      (working copy)
> @@ -192,6 +192,10 @@
>              {
>                  artifact.setFile( warFile );
>              }
> +            else
> +            {
> +               projectHelper.attachArtifact( getProject(). "war", warFile );
> +            }
>          }
>      }
>  }

-- 
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