Full name:
org.apache.tomcat.maven:tomcat7-maven-plugin:2.0:run-war
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
path | String | 2.0 | 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}. User property is: maven.tomcat.path. |
pluginArtifacts | List | 1.0 | (no description) Default value is: ${plugin.artifacts}. |
warDirectory | File | 2.0 | The path of the exploded WAR directory to run. Default value is: ${project.build.directory}/${project.build.finalName}. |
Name | Type | Since | Description |
---|---|---|---|
addContextWarDependencies | boolean | 1.0 | Deprecated. use webapps instead Default value is: false. User property is: maven.tomcat.addContextWarDependencies. |
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. User property is: maven.tomcat.additionalConfigFilesDir. |
ajpPort | int | 2.0 | 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. Will be exposed as System props and
session.executionProperties with key tomcat.maven.ajp.port Default value is: 0. User property is: maven.tomcat.ajp.port. |
ajpProtocol | String | 2.0 | 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. possible values are:
Default value is: org.apache.coyote.ajp.AjpProtocol. User property is: maven.tomcat.ajp.protocol. |
aliases | String[] | 2.0 | configure aliases see Host
Name aliases |
classLoaderClass | String | 2.0 | Class loader class to set. |
configurationDir | File | 2.0 | The directory to create the Tomcat server configuration under. Default value is: ${project.build.directory}/tomcat. |
contextFile | File | 2.0 | The path of the Tomcat context XML file. Default value is: ${project.build.directory}/${project.build.finalName}/META-INF/context.xml. |
contextReloadable | boolean | 2.0 | 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. User property is: maven.tomcat.contextReloadable. |
fork | boolean | 1.0 | Set this to true to allow Maven to continue to execute after
invoking the run goal. Default value is: false. User property is: maven.tomcat.fork. |
hostName | String | 2.0 | configure host name Default value is: localhost. User property is: maven.tomcat.hostName. |
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. Will be exposed as System props and
session.executionProperties with key tomcat.maven.https.port Default value is: 0. User property is: maven.tomcat.httpsPort. |
ignorePackaging | boolean | 1.0 | If set to true ignore if packaging of project is not 'war'. Default value is: false. User property is: tomcat.ignorePackaging. |
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) |
keystoreType | String | 2.0 | Override the type of keystore file to be used for the server
certificate. If not specified, the default value is "JKS". Default value is: JKS. |
port | int | 2.0 | The port to run the Tomcat server on. Will be exposed as System
props and session.executionProperties with key
tomcat.maven.http.port Default value is: 8080. User property is: maven.tomcat.port. |
propertiesPortFilePath | String | 2.0 | Will dump port in a properties file (see ports for property names).
If empty no file generated User property is: maven.tomcat.propertiesPortFilePath. |
protocol | String | 2.0 | The protocol to run the Tomcat server on. By default it's HTTP/1.1. Default value is: HTTP/1.1. User property is: maven.tomcat.protocol. |
serverXml | File | 1.0-alpha-2 | server.xml to use Note if you use this you must configure in
this file your webapp paths. User property is: maven.tomcat.serverXml. |
skip | boolean | 2.0 | Skip execution Default value is: false. User property is: maven.tomcat.skip. |
staticContextDocbase | String | 2.0 | The static context docroot base fully qualified path if
null static context won't be added User property is: maven.tomcat.staticContextDocbase. |
staticContextPath | String | 2.0 | The static context Default value is: /. User property is: maven.tomcat.staticContextPath. |
systemProperties | Map | 1.0-alpha-2 | List of System properties to pass to the Tomcat Server. |
tomcatLoggingFile | File | 2.0 | The path of the Tomcat logging configuration. User property is: maven.tomcat.tomcatLogging.file. |
tomcatUsers | File | 2.0 | The path of the Tomcat users XML file. User property is: maven.tomcat.tomcatUsers.file. |
tomcatWebXml | File | 1.0-alpha-2 | overriding the providing web.xml to run tomcat User property is: maven.tomcat.webXml. |
uriEncoding | String | 1.0 | The character encoding to use for decoding URIs. Default value is: ISO-8859-1. User property is: maven.tomcat.uriEncoding. |
useNaming | boolean | 2.0 | Enables or disables naming support for the embedded Tomcat server. 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: true. User property is: maven.tomcat.useNaming. |
useSeparateTomcatClassLoader | boolean | 1.0 | if true a new classLoader separated from maven core
will be created to start tomcat. Default value is: false. User property is: tomcat.useSeparateTomcatClassLoader. |
webapps | List | 2.0 | (no description) |
<type>war</type> <scope>tomcat</scope>
fork:
path:
port:
skip:
Enables or disables naming support for the embedded Tomcat server.
Note: This setting is ignored if you provide a server.xml for your Tomcat. Instead please configure naming in the server.xml.