[ http://jira.codehaus.org/browse/MWAR-16?page=all ]
Maria Odea Ching moved MNG-1833 to MWAR-16:
-------------------------------------------
Component: (was: maven-war-plugin)
Workflow: jira (was: Maven)
Key: MWAR-16 (was: MNG-1833)
Project: Maven 2.x War Plugin (was: Maven 2)
> war:clean goal
> --------------
>
> Key: MWAR-16
> URL: http://jira.codehaus.org/browse/MWAR-16
> Project: Maven 2.x War Plugin
> Type: New Feature
> Reporter: Jochen Wiedmann
>
>
> The war:explode goal deploys an application to a webapp directory. However,
> it only overrides existing files and doesn't remove files. I suggest to add a
> new goal mvn:clean, which cleans the webapp directory.
> Things to discuss:
> - Should the webapp directory be removed or only the webapp directories
> contents.
> IMO the former. Is a configurable option required?
> - Is it possible to bind this to the maven clean plugin somehow? For example,
> if
> the maven clean plugin had a new goal clean:appclean, or something like
> that,
> then one might make sure, that clean:appclean invokes war:clean. How could
> that be done?
> I am ready to provide a patch, if someone signals, that the patch might be
> accepted
> and signals the way in which the above questions should be resolved.
--
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]