| Property | Optional? | Description |
|---|---|---|
| maven.war.src | Yes |
Location of where the webapp is located in the source tree. Your
WEB-INF directory must be located right under
${maven.war.src}. It defaults to
${maven.src.dir}/webapp.
|
| maven.war.webxml | Yes |
Location of the web.xml file. It defaults to
${maven.war.src}/WEB-INF/web.xml.
|
| maven.war.classes.includes | Yes |
Classes to include from WEB-INF/classes
Note: Classes are relative to
${maven.build.dir}.
|
| maven.war.classes.excludes | Yes |
Classes to exclude from WEB-INF/classes
Note: Classes are relative to
${maven.build.dir}.
|
| maven.war.build.dir | Yes |
Directory where the webapp and war will be generated. It defaults
to ${maven.build.dir}.
|
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: