git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112724 13f79535-47bb-0310-9956-ffa450edef68
79 lines
2.0 KiB
XML
79 lines
2.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<document>
|
|
|
|
<properties>
|
|
<title>War Properties</title>
|
|
<author email="vmassol@octo.com">Vincent Massol</author>
|
|
</properties>
|
|
|
|
<body>
|
|
<section name="War Settings">
|
|
<table>
|
|
<tr><th>Property</th><th>Optional?</th><th>Description</th></tr>
|
|
<tr>
|
|
<td>maven.war.src</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Location of where the webapp is located in the source tree. Your
|
|
<code>WEB-INF</code> directory must be located right under
|
|
<code>${maven.war.src}</code>. It defaults to
|
|
<code>${maven.src.dir}/webapp</code>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.war.webxml</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Location of the <code>web.xml</code> file. It defaults to
|
|
<code>${maven.war.src}/WEB-INF/web.xml</code>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.war.classes.includes</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Classes to include from WEB-INF/classes
|
|
Note: Classes are relative to
|
|
<code>${maven.build.dir}</code>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.war.classes.excludes</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Classes to exclude from WEB-INF/classes
|
|
Note: Classes are relative to
|
|
<code>${maven.build.dir}</code>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>maven.war.build.dir</td>
|
|
<td>Yes</td>
|
|
<td>
|
|
Directory where the webapp and war will be generated. It defaults
|
|
to <code>${maven.build.dir}</code>.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
<section name="Including Jars in the Webapp">
|
|
<p>
|
|
You must tell Maven what jars you want included in the Webapp. This
|
|
is achieved by specifying meta-information in the POM, using the
|
|
following syntax:
|
|
</p>
|
|
|
|
<source><![CDATA[
|
|
<dependency>
|
|
<id>jarid</id>
|
|
<version>jarversion</version>
|
|
<properties>
|
|
<war.bundle.jar>true</war.bundle.jar>
|
|
</properties>
|
|
</dependency>
|
|
]]></source>
|
|
|
|
</section>
|
|
</body>
|
|
</document>
|