war:clean goal was added

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
michal 2003-07-05 17:10:45 +00:00
parent 1ba6c665d3
commit 1110194bd6
3 changed files with 22 additions and 1 deletions

View File

@ -185,6 +185,19 @@
project="${pom}"/>
</goal>
<!--==================================================================-->
<!-- Clean -->
<!--==================================================================-->
<goal name="war:clean"
description="Remove all artifacts created by war plugin">
<!-- TODO: delete also snapshot and md5 files -->
<ant:delete dir="${maven.war.webapp.dir}"/>
<ant:delete file="${maven.war.build.dir}/${maven.war.final.name}" quiet="true" failonerror="false"/>
</goal>
<!--==================================================================-->
<!-- Special no-op goal which can be used by other plugin which need -->

View File

@ -8,6 +8,9 @@
<body>
<release version="1.4" date="in CVS">
<action dev="michal" type="fix">
Added war:clean goal
</action>
<action dev="michal" type="fix">
war:war goal is simply packaging
(using ant jar task) the directory created
@ -16,7 +19,7 @@
and removes code duplication.
</action>
<action dev="michal" type="fix">
Fixes for MAVEN-481.
Fi xes for MAVEN-481.
Bundling of tlds in war is supported.
</action>
<action dev="michal" type="fix">

View File

@ -50,6 +50,11 @@
<name>war:deploy-snapshot</name>
<description>Deploy the snapshot version of the war to the remote repository(ies)</description>
</goal>
<goal>
<name>war:clean</name>
<description>Delete all artifacts created by war plugin</description>
</goal>
</goals>
</body>
</document>