[
http://jira.codehaus.org/browse/MWAR-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed MWAR-173.
--------------------------------
Resolution: Not A Bug
> war:inplace overwrites main web.xml when using alternate maven.war.webxml if
> alternate is newer
> -----------------------------------------------------------------------------------------------
>
> Key: MWAR-173
> URL: http://jira.codehaus.org/browse/MWAR-173
> Project: Maven 2.x WAR Plugin
> Issue Type: Bug
> Affects Versions: 2.1-alpha-2
> Reporter: Mat Schaffer
> Attachments: main.zip
>
>
> This appears to be present in trunk as well and seems to be happening in
> WarProjectPackagingTask.handleDeploymentDescriptors since it is not aware
> that the project is using an alternate web.xml.
> It may also be related to MWAR-95, but is a slightly different use case.
> (from example zip)
> 1. touch src/main/webapp/WEB-INF/*web.xml # synchronize times on both
> web.xml files
> 2. mvn war:inplace
> 3. cat src/main/webapp/WEB-INF/web.xml # shows Main webXml
> 4. touch src/main/webapp/WEB-INF/alternate.web.xml # update time on alternate
> defined using maven.war.webxml
> 5. mvn war:inplace
> 6. cat src/main/webapp/WEB-INF/web.xml # shows Alternate webXml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira