MPWAR-49: Added property maven.war.resources.overwrite to control is resources overwrites the ones in the generated webapp directory.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@412460 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
snicoll committed 2006-06-07 17:27:26 +00:00
1 parent a4336d4349
commit 7943b8addb
4 files changed
+16 -2

No files matched your search

+3 -2
View File
@@ -112,12 +112,13 @@
<j:if test="${webSourcesPresent == 'true'}">
<ant:copy todir="${maven.war.webapp.dir}" filtering="on"
preservelastmodified="true">
preservelastmodified="true"
overwrite="${maven.war.resources.overwrite}">
<ant:fileset dir="${maven.war.src}"
includes="${maven.war.src.includes}"
excludes="${maven.war.src.excludes}">
</ant:fileset>
<j:if test="${maven.war.property.expansion}" >
<j:if test="${maven.war.property.expansion}" >
<ant:filterchain>
<ant:expandproperties/>
</ant:filterchain>
+4
View File
@@ -62,3 +62,7 @@ maven.war.manifest=${maven.war.src}/META-INF/MANIFEST.MF
# Specify if the web.xml contained in the source tree should
# overwrite the one in the generated webapp directory.
maven.war.webxml.overwrite=true
# Specify if resources contained in maven.war.webapp.dir should
# overwrite existing resources in the generated webapp directory.
maven.war.resources.overwrite=true
+1
View File
@@ -25,6 +25,7 @@
</properties>
<body>
<release version="1.6.2-SNAPSHOT" date="in SVN">
<action dev="snicoll" type="update" issue="MPWAR-49">Added property <code>maven.war.resources.overwrite</code> to control is resources overwrites the ones in the generated webapp directory.</action>
<action dev="snicoll" type="update" issue="MPWAR-37" due-to="Troy Poppe">Added ability to expand properties when copying war resources.</action>
<action dev="snicoll" type="update" issue="MPWAR-39">Updated wrong documentation regarding web.xml filtering.</action>
<action dev="snicoll" type="update" issue="MPWAR-46">Now filtering when copying resources.</action>
+8
View File
@@ -137,6 +137,14 @@
the one in the generated webapp directory. Default to true.
</td>
</tr>
<tr>
<td>maven.war.resources.overwrite</td>
<td>Yes</td>
<td>
Specify if resources contained in maven.war.webapp.dir should overwrite
existing resources in the generated webapp directory. Default to true.
</td>
</tr>
<tr>
<td>maven.war.index</td>
<td>Yes</td>