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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user