Only copy web.xml if it exists
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114091 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -99,9 +99,11 @@
|
||||
</ant:copy>
|
||||
</j:if>
|
||||
|
||||
<ant:copy file="${maven.war.webxml}"
|
||||
tofile="${webapp.build.webinf}/web.xml"
|
||||
overwrite="true" />
|
||||
<util:available file="${maven.war.webxml}">
|
||||
<ant:copy file="${maven.war.webxml}"
|
||||
tofile="${webapp.build.webinf}/web.xml"
|
||||
overwrite="true" />
|
||||
</util:available>
|
||||
|
||||
<j:forEach var="lib" items="${pom.artifacts}">
|
||||
<j:set var="dep" value="${lib.dependency}"/>
|
||||
|
||||
Reference in New Issue
Block a user