maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joerg Schaible (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MWAR-367) Overlay removes /META-INF/context.xml
Date Wed, 09 Mar 2016 00:19:40 GMT

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

Joerg Schaible commented on MWAR-367:
-------------------------------------

Why should it have been named with "default" in its name? It was actually already there when
someone introduced the overlay configuration.

Why can't you simple keep it unless someone actually configures the war dependency in an overlay?
Nobody expects that you merge the two.

> 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)

Mime
View raw message