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

context.xml is not copied into war anymore

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.2
    • None
    • None
    • None

    Description

      When I add this line to the config:

      <containerConfigXML>${basedir}/webapp/META-INF/context.xml</containerConfigXML>
      

      I can see that the plugin takes the parameter into account:

      [DEBUG]   (s) containerConfigXML = D:\workspace\GktGwt\webapp\META-INF\context.xml
      

      but the resulting war file doesn't contain a context.xml file in META-INF/. I also don't see "adding entry " in the debug output so my guess is that something removes this entry.

      I also cannot add this entry via dependentWarIncludes or webResources which suggests that there is an invisible filter which just trows all these items away.

      Attachments

        Issue Links

          Activity

            People

              snicoll Stephane Nicoll
              digulla Aaron Digulla
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: