add description of changes, add guard against cleaning source files

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114734 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
brett
2004-02-23 22:20:27 +00:00
parent 2ce996bed4
commit 2e65a4a7b9
3 changed files with 20 additions and 2 deletions

View File

@@ -211,7 +211,9 @@
description="Remove all artifacts created by war plugin">
<!-- TODO: delete also snapshot and md5 files -->
<ant:delete dir="${maven.war.webapp.dir}"/>
<j:if test="${context.getVariable('maven.war.webapp.dir') != context.getVariable('maven.war.src')}">
<ant:delete dir="${maven.war.webapp.dir}"/>
</j:if>
<ant:delete file="${maven.war.build.dir}/${maven.war.final.name}" quiet="true" failonerror="false"/>
</goal>

View File

@@ -15,6 +15,13 @@
Use the new <code>caller</code> plugin to isolate the
java compilation goal called from its implementation.
</action>
<action dev="bporter" type="add">
Add war:inplace goal for building the webapp into maven.war.src. You should cvsignore WEB-INF/lib and
WEB-INF/classes
</action>
<action dev="bporter" type="add">
Add target path to dependencies so you can copy to elsewhere than WEB-INF/lib. Useful for applets.
</action>
</release>
<release version="1.4" date="2003-09-29">

View File

@@ -54,7 +54,16 @@
<name>war:clean</name>
<description>Delete all artifacts created by war plugin</description>
</goal>
<goal>
<name>war:inplace</name>
<description>
Build an exploded web application into ${maven.war.src}. This allows you to mount it in your application
server, and you only need to run it again for dependency and class changes, not JSP changes.
This goal will not clean old dependencies - due to the dangers involved in automating this for your
source tree, you must do that yourself.
</description>
</goal>
</goals>
</body>
</document>
</document>