[ 
https://issues.apache.org/jira/browse/MWAR-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184914#comment-15184914
 ] 

Michael Osipov commented on MWAR-367:
-------------------------------------

The plugin documentation is incorrect. The default exclude are defined 
[here|https://maven.apache.org/plugins/maven-war-plugin/xref/org/apache/maven/plugin/war/Overlay.html#L52].
 Something is really fishy about it.

> 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
>            Priority: Blocker
>         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)

Reply via email to