Full name:
org.codehaus.mojo:tomcat-maven-plugin:1.2-SNAPSHOT:run
Description:
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| path | String | - | The webapp context path to use for the web application being run.
This must always start with a forward-slash ('/'). Default value is: /${project.artifactId}. |
| pluginArtifacts | List | 1.0 | (no description) |
| Name | Type | Since | Description |
|---|---|---|---|
| addContextWarDependencies | boolean | 1.0 | Will create a tomcat context for each dependencies of war type with
'scope' set to 'tomcat'. In other words, dependencies with:
<type>war</type> <scope>tomcat</scope> Default value is: false. |
| additionalConfigFilesDir | File | 1.0-alpha-2 | The directory contains additional configuration Files that copied
in the Tomcat conf Directory. Default value is: ${basedir}/src/main/tomcatconf. |
| ajpPort | int | 1.2 | The AJP port to run the Tomcat server on. By default it's 0 this
means won't be started. The ajp connector will be started only for
value > 0. Default value is: 0. |
| ajpProtocol | String | 1.2 | The AJP protocol to run the Tomcat server on. By default it's ajp.
NOTE The ajp connector will be started only if ajpPort
> 0. Default value is: ajp. |
| backgroundProcessorDelay | int | - | represents the delay in seconds between each classPathScanning
change invocation Default value is: -1. |
| classesDir | File | - | The classes directory for the web application being run. |
| configurationDir | File | - | The directory to create the Tomcat server configuration under. |
| contextFile | File | - | The path of the Tomcat context XML file. |
| contextReloadable | boolean | 1.2 | Force context scanning if you don't use a context file with
reloadable = "true". The other way to use contextReloadable is to
add attribute reloadable = "true" in your context file. Default value is: false. |
| delegate | boolean | 1.0 | Set the "follow standard delegation model" flag used to configure
our ClassLoader. Default value is: true. |
| fork | boolean | 1.0 | Set this to true to allow Maven to continue to execute after
invoking the run goal. Default value is: false. |
| httpsPort | int | 1.0 | The https port to run the Tomcat server on. By default it's 0 this
means won't be started. The https connector will be started only
for value > 0. Default value is: 0. |
| ignorePackaging | boolean | 1.0 | If set to true ignore if packaging of project is not 'war'. Default value is: false. |
| keystoreFile | String | 1.1 | Override the default keystoreFile for the HTTPS connector (if
enabled) |
| keystorePass | String | 1.1 | Override the default keystorePass for the HTTPS connector (if
enabled) |
| port | int | - | The port to run the Tomcat server on. Default value is: 8080. |
| serverXml | File | 1.0-alpha-2 | server.xml to use Note if you use this you must configure in
this file your webapp paths. |
| systemProperties | Map | 1.0-alpha-2 | List of System properties to pass to the Tomcat Server. |
| tomcatWebXml | File | 1.0-alpha-2 | overriding the providing web.xml to run tomcat |
| uriEncoding | String | 1.0 | The character encoding to use for decoding URIs. Default value is: ISO-8859-1. |
| useNaming | boolean | 1.2 | Enables or disables naming support for the embedded Tomcat server. By default the embedded Tomcat in Tomcat 6 comes with naming enabled. In contrast to this the embedded Tomcat 7 comes with naming disabled by default. With release 1.2 of this plugin useNaming defaults to false as it does for Tomcat 7. To enable it, set this parameter to true or set the property maven.tomcat.useNaming. Note: This setting is ignored if you provide a server.xml for your Tomcat. Instead please configure naming in the server.xml. Default value is: false. |
| useSeparateTomcatClassLoader | boolean | 1.0 | if true a new classLoader separated from maven core
will be created to start tomcat. Default value is: false. |
| warSourceDirectory | File | - | The web resources directory for the web application being run. |
<type>war</type> <scope>tomcat</scope>
fork:
path:
port:
Enables or disables naming support for the embedded Tomcat server. By default the embedded Tomcat in Tomcat 6 comes with naming enabled. In contrast to this the embedded Tomcat 7 comes with naming disabled by default.
With release 1.2 of this plugin useNaming defaults to false as it does for Tomcat 7. To enable it, set this parameter to true or set the property maven.tomcat.useNaming.
Note: This setting is ignored if you provide a server.xml for your Tomcat. Instead please configure naming in the server.xml.