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

War overlay with merged web.xml

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.0
    • None
    • overlay
    • None

    Description

      I'm looking for a way to use the war overlay feature and have the web.xml merged with the content of both the parent war and the child war.

      For example, we have two wars A and B, and B is depending on A using the overlay feature. Now, I'd like all filters, servlets etc that are configured in A to be available in the resulting war, as well as all filters, servlets etc from B. If the id attributes clash, then the objects from B should be used.

      Any ideas how this could be accomplished?

      Attachments

        1. merge-web.xml.xslt
          2 kB
          Michiel Meeuwissen

        Activity

          People

            Unassigned Unassigned
            elektromin Anders Romin
            Votes:
            16 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: