war:clean goal
--------------
Key: MNG-1833
URL: http://jira.codehaus.org/browse/MNG-1833
Project: Maven 2
Type: New Feature
Components: maven-war-plugin
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]