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

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

    Attachment: WarCleanMojo.java

Hi,
Find in the attached file the simple class which delete the WebappDirectory().
I don't known how to attach it  to the clean phase of the war packaging.
- Olivier

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