Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-367

Overlay removes /META-INF/context.xml

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 3.0.0
    • Component/s: overlay
    • Labels:
      None

      Description

      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.

        Attachments

        1. test.zip
          18 kB
          Peter Rader

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                enexusde Peter Rader
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: