tomcat7:exec-war-only
Full name:
org.apache.tomcat.maven:tomcat7-maven-plugin:2.0-beta-1:exec-war-only
Description:
(no description)
Attributes:
- Requires a Maven project to be executed.
- Since version: 2.0.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
accessLogValveFormat | String | 2.0 | see http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html Default value is: %h %l %u %t . |
attachArtifact | boolean | 2.0 | Attach or not the generated artifact to the build (use true if you
want to install or deploy it) Default value is: true. |
attachArtifactClassifier | String | 2.0 | the classifier to use for the attached/generated artifact Default value is: exec-war. |
attachArtifactClassifierType | String | 2.0 | the type to use for the attached/generated artifact Default value is: jar. |
connectorHttpProtocol | String | 2.0 | which connector protocol to use HTTP/1.1 or
org.apache.coyote.http11.Http11NioProtocol Default value is: HTTP/1.1. |
enableNaming | boolean | 2.0 | to enable naming when starting tomcat Default value is: false. |
finalName | String | 2.0 | Name of the generated exec JAR. Default value is: ${project.artifactId}-${project.version}-war-exec.jar. |
mainClass | String | 2.0 | Main class to use for starting the standalone jar. Default value is: org.apache.tomcat.maven.runner.Tomcat7RunnerCli. |
path | String | 2.0 | The webapp context path to use for the web application being run.
The name to store webapp in exec jar. Do not use / Default value is: ${project.artifactId}. |
pluginArtifacts | List | 2.0 | (no description) Default value is: ${plugin.artifacts}. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
buildDirectory | File | 2.0 | (no description) Default value is: ${project.build.directory}. |
extraDependencies | List | 2.0 | list of extra dependencies to add in the standalone tomcat jar:
your jdbc driver, mail.jar etc.. Those dependencies will be in
root classloader. |
extraResources | List | 2.0 | list of extra resources to add in the standalone tomcat jar: your
logger configuration etc |
serverXml | File | 2.0 | (no description) Default value is: src/main/tomcatconf/server.xml. |
tomcatConfigurationFilesDirectory | File | 2.0 | (no description) Default value is: src/main/tomcatconf. |
warRunDependencies | List | 2.0 | (no description) |
Parameter Details
see http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.accessLogValveFormat}
- Default: %h %l %u %t
Attach or not the generated artifact to the build (use true if you
want to install or deploy it)
- Type: boolean
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.attachArtifact}
- Default: true
the classifier to use for the attached/generated artifact
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.attachArtifactClassifier}
- Default: exec-war
the type to use for the attached/generated artifact
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.attachArtifactType}
- Default: jar
(no description)
- Type: java.io.File
- Since: 2.0
- Required: No
- Default: ${project.build.directory}
which connector protocol to use HTTP/1.1 or
org.apache.coyote.http11.Http11NioProtocol
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.connectorHttpProtocol}
- Default: HTTP/1.1
to enable naming when starting tomcat
- Type: boolean
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.enableNaming}
- Default: false
list of extra dependencies to add in the standalone tomcat jar:
your jdbc driver, mail.jar etc.. Those dependencies will be in
root classloader.
- Type: java.util.List
- Since: 2.0
- Required: No
list of extra resources to add in the standalone tomcat jar: your
logger configuration etc
- Type: java.util.List
- Since: 2.0
- Required: No
Name of the generated exec JAR.
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${tomcat.jar.finalName}
- Default: ${project.artifactId}-${project.version}-war-exec.jar
Main class to use for starting the standalone jar.
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.exec.war.mainClass}
- Default: org.apache.tomcat.maven.runner.Tomcat7RunnerCli
path:
The webapp context path to use for the web application being run.
The name to store webapp in exec jar. Do not use /
- Type: java.lang.String
- Since: 2.0
- Required: Yes
- Expression: ${maven.tomcat.path}
- Default: ${project.artifactId}
(no description)
- Type: java.util.List
- Since: 2.0
- Required: Yes
- Default: ${plugin.artifacts}
(no description)
- Type: java.io.File
- Since: 2.0
- Required: No
- Expression: ${maven.tomcat.exec.war.serverXml}
- Default: src/main/tomcatconf/server.xml
tomcatConfigurationFilesDirectory:
(no description)
- Type: java.io.File
- Since: 2.0
- Required: No
- Expression: ${maven.tomcat.exec.war.tomcatConf}
- Default: src/main/tomcatconf
(no description)
- Type: java.util.List
- Since: 2.0
- Required: No