[ http://jira.codehaus.org/browse/MNG-1833?page=all ]
Jochen Wiedmann closed MNG-1833:
--------------------------------
Resolution: Duplicate
Sorry, I missed MNG-1655. Clearly, this is a duplicate.
However, given the fact that closing MNG-1655 in favour of MNG-1669 (with a
more complex patch) and closing the latter in favour of MNG-1683 (with an even
more complicated patch), I wonder whether we should better reopen MNG-1655 with
a simple patch. To me, the simple part has far better chances to enter the
trunk.
> 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]