You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/08 22:53:40 UTC
[jira] [Commented] (MWAR-367) Overlay removes /META-INF/context.xml
[ https://issues.apache.org/jira/browse/MWAR-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15185903#comment-15185903 ]
Hudson commented on MWAR-367:
-----------------------------
SUCCESS: Integrated in maven-plugins #5488 (See [https://builds.apache.org/job/maven-plugins/5488/])
[MWAR-367] Overlay removes /META-INF/context.xml
This fix actually removes the deprecated paramters dependentWarIncludes/dependentWarExcludes which had different default values as Overlay and caused a mismatch/unexpected behavior. With their removal, we are back to a predictable mode. (michaelo: [http://svn.apache.org/viewvc/?view=rev&rev=1734147])
* maven-war-plugin/src/main/java/org/apache/maven/plugins/war/AbstractWarMojo.java
* maven-war-plugin/src/main/java/org/apache/maven/plugins/war/overlay/DefaultOverlay.java
* maven-war-plugin/src/main/java/org/apache/maven/plugins/war/overlay/OverlayManager.java
* maven-war-plugin/src/site/apt/overlays.apt.vm
* maven-war-plugin/src/site/fml/faq.fml.vm
* maven-war-plugin/src/test/java/org/apache/maven/plugins/war/WarExplodedMojoTest.java
* maven-war-plugin/src/test/java/org/apache/maven/plugins/war/overlay/OverlayManagerTest.java
> Overlay removes /META-INF/context.xml
> -------------------------------------
>
> Key: MWAR-367
> URL: https://issues.apache.org/jira/browse/MWAR-367
> Project: Maven WAR Plugin
> Issue Type: Bug
> Components: overlay
> Affects Versions: 2.6
> Reporter: Peter Rader
> Assignee: Michael Osipov
> Fix For: 3.0.0
>
> Attachments: test.zip
>
>
> A /src/main/webapp/META-INF/context.xml in a overlay could not be included. Even <containerConfigXML>${project.basedir}/target/war/work/myoverlaygroup/myoverlayartifact/META-INF/context.xml</containerConfigXML>
> is ignored.
> Usually having copyXML=true, tomcat should copy the context.xml to /conf/Catalina/ but as long the xml is not part of the WAR i can not deploy on an virgin tomcat.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)