The following is an overview of the various properties (and default values) used by the Maven Struts Plug-in build file. Most of these properties are optional and have defaults; however, there are mandatory properties that must be set as described in this document.
These properties can be overridden to change the default behavior of the Maven Struts Plug-in. If you need to override any of these properties, please refer to the Integration document for the preferred method of setting properties in your project.
| Section | Description |
|---|---|
| War | These properties specify various settings that control the validation of a war file by the Struts Plug-in. |
| Callbacks | These properties specify settings that allow you to pre or post-process targets in the plug-in's build file. |
| Property | Optional? | Description |
|---|---|---|
| maven.j2ee.war.name | No | Specifies the name of the web application to be validated. This property is defined by the J2EE Plugin . |
| Property | Optional? | Description |
|---|---|---|
| maven.struts.callback.pre-validate-struts-war.buildFile | Yes | Specifies the build file to be used when pre-processing a war file validation. There is no default for this property. |
| maven.struts.callback.pre-validate-validate-struts-war.buildTarget | Yes | Specifies the target of the preprocess build file to be called as a war is being validated. There is no default for this property. |
| maven.struts.callback.post-validate-struts-war.buildFile | Yes | Specifies the build file to be used when post-processing a war file validation. There is no default for this property. |
| maven.struts.callback.post-validate-struts-war.buildTarget | Yes | Specifies the target of the postprocess build file to be called after a war has been validated. There is no default for this property. |