[ https://issues.apache.org/jira/browse/MWAR-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15184877#comment-15184877 ]
Michael Osipov commented on MWAR-367: ------------------------------------- Sadly, I need to confirm this: {noformat} [INFO] Processing overlay [ id test:overlay] [DEBUG] Expanding: D:\Entwicklung\Projekte\test\overlay\target\overlay-0.0.1-SNAPSHOT.war into D:\Entwicklung\Projekte\test\overlay-invoker\my-webapp\target\war\work\test\overlay [DEBUG] expand complete [DEBUG] + hello.jpg has been copied. [INFO] Webapp assembled in [141 msecs] [DEBUG] Excluding [] from the generated webapp archive. [DEBUG] Including [**] in the generated webapp archive. [DEBUG] Build won't fail if web.xml file is missing. [INFO] Building war: D:\Entwicklung\Projekte\test\overlay-invoker\my-webapp\target\my-webapp-0.0.1-SNAPSHOT.war [DEBUG] adding directory META-INF/ [DEBUG] adding entry META-INF/MANIFEST.MF [DEBUG] adding directory WEB-INF/ [DEBUG] adding directory WEB-INF/classes/ [DEBUG] adding entry hello.jpg [DEBUG] adding entry META-INF/maven/test/my-webapp/pom.xml [DEBUG] adding entry META-INF/maven/test/my-webapp/pom.properties {noformat} WAR file is expanded properly but {{context.xml}} is still excluded. > 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)