Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.2
-
Labels:None
-
Number of attachments :
Description
The default behavior of ant:copy is to not overwrite files if an newer file exists. However, when war dependencies are included and merged (see MPWAR-41), this means that resources of this project might be overriden by resources from an included war file (which is counterintuitive: project resources should override all included files if they overlap)
The line to change is
<ant:copy todir="$
{maven.war.webapp.dir}" preservelastmodified="true" overwrite="true">
Issue Links
- relates to
-
MPWAR-52
configurable overwrite of target web.xml with src web.xml
-
Added property maven.war.resources.overwrite to control is resources overwrites the ones in the generated webapp directory.
Default to true.