Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Labels:None
Description
We have a plugin that modifies the web.xml, as an optimisation we don't have to perform this modification on every build. However, the war:war-resources forces the copy of the web.xml file, so our plugin has to modify the web.xml every time.
<util:available file="${maven.war.webxml}">
<ant:copy file="${maven.war.webxml}"
tofile="${webapp.build.webinf}/web.xml"
overwrite="true" />
</util:available>
how about parameterise? with default true.
<util:available file="${maven.war.webxml}">
<ant:copy file="${maven.war.webxml}"
tofile="${webapp.build.webinf}/web.xml"
overwrite="${war.web.xml.overwrite}" />
</util:available>
I can make patches if needed. nathan@codeczar.com
Issue Links
- is duplicated by
-
MPWAR-52
configurable overwrite of target web.xml with src web.xml
-
Duplicate and fixed in 1.6.2