Maven 1.x War Plugin
  1. Maven 1.x War Plugin
  2. MPWAR-39

Documentation: filter web.xml should recommend to add a pregoal to war:war-resources

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.2
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Documentation says:

      "If you need to copy the web.xml file in order to replace some filter tokens or simply perform some custom modification to it, simply write a pre-goal to the war:war goal in which you perform the manipulation. Then set the maven.war.webxml property to point to your modified web.xml."

      instead it could say

      [...] simply write a pre-goal to the war:war-resources [...]

      Otherwise it won't work with exploded war files.

        Activity

        Hide
        Stéphane Nicoll added a comment -

        Indeed, thanks. I've updated the doc.

        Show
        Stéphane Nicoll added a comment - Indeed, thanks. I've updated the doc.

          People

          • Assignee:
            Stéphane Nicoll
            Reporter:
            Jerome Lacoste
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: