[ http://jira.codehaus.org/browse/MNG-1655?page=all ]

Olivier Lamy updated MNG-1655:
------------------------------

    Attachment: WarExplodedMojo.java
                WarCleanMojo.java
                lifecycle.xml

I provided different files to attach the clean in the clean phase of the war 
packaging. 
Note the same annotation : @execute phase="clean" lifecycle="warclean"
must be applied to  :
WarInPlaceMojo.java
WarMojo.java



> [maven-war-plugin] adding war:clean to delete webappDirectory
> -------------------------------------------------------------
>
>          Key: MNG-1655
>          URL: http://jira.codehaus.org/browse/MNG-1655
>      Project: Maven 2
>         Type: New Feature
>   Components: maven-war-plugin
>  Environment: all
>     Reporter: Olivier Lamy
>     Priority: Minor
>  Attachments: WarCleanMojo.java, WarCleanMojo.java, WarExplodedMojo.java, 
> lifecycle.xml
>
>
> Just simply add a goal war:clean to delete the directory (if exists) 
> configured in webappDirectory which could not be in  target directory. 
> Actually  I do it by inserting ant script but it's not very clean ;-)

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to