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

Overlay removes /META-INF/context.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 3.0.0
    • overlay
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: