Maven 1.x War Plugin

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
  • Component/s: None
  • 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
Stephane Nicoll added a comment -

Indeed, thanks. I've updated the doc.

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: