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

[PATCH] Add ability to specify context.xml file in plugin configuration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • None

    Description

      The context.xml file for a web application may require configuration specific to the deployment environment of the webapp, and consequently should be able to be treated like the web.xml file in allowing the location of the context.xml file to be used in the webapp to be specified by a plugin configuration parameter. This patch basically duplicates the replacement functionality provided for the web.xml file for META-INF/context.xml.

      This patch also provides a minor bugfix to ensure that values of the webXml and contextXml parameters do not accept whitespace as valid values.

      Attachments

        1. MWAR-24-maven-war-plugin.diff
          3 kB
          Ernesto S. Tolentino Jr.
        2. contextXml.patch
          4 kB

        Activity

          People

            jtolentino Ernesto S. Tolentino Jr.
            kris.nuttycombe@noaa.gov Kris Nuttycombe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3.25h
                3.25h