git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
24 lines
722 B
XML
24 lines
722 B
XML
<?xml version="1.0"?>
|
|
<document>
|
|
|
|
<properties>
|
|
<title>Maven War Plugin Tips</title>
|
|
<author email="vmassol@octo.com">Vincent Massol</author>
|
|
</properties>
|
|
|
|
<body>
|
|
<section name="Maven War Plugin Tips">
|
|
<section name="Filtering web.xml">
|
|
<p>
|
|
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 <code>war:war</code> goal in which
|
|
you perform the manipulation. Then set the
|
|
<code>maven.war.webxml</code> property to point to your modified
|
|
<code>web.xml</code>.
|
|
</p>
|
|
</section>
|
|
</section>
|
|
</body>
|
|
</document>
|