tomcat:start

Full name:

org.codehaus.mojo:tomcat-maven-plugin:1.2-SNAPSHOT:start

Description:

Start a WAR in Tomcat.

Attributes:

  • Requires a Maven 2.0 project to be executed.

Required Parameters

Name Type Since Description
charset String - The URL encoding charset to use when communicating with Tomcat manager.
Default value is: ISO-8859-1.
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}.
url URL - The full URL of the Tomcat manager instance to use.
Default value is: http://localhost:8080/manager.

Optional Parameters

Name Type Since Description
ignorePackaging boolean 1.1 If set to true ignore if packaging of project is not 'war'.
Default value is: false.
password String 1.0-alpha-2 The password to use for deployment
server String - The server id in settings.xml to use when authenticating with Tomcat manager, or null to use defaults of username admin and no password.
username String 1.0-alpha-2 The tomcat username to use for deployment

Parameter Details

charset:

The URL encoding charset to use when communicating with Tomcat manager.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${maven.tomcat.charset}
  • Default: ISO-8859-1

ignorePackaging:

If set to true ignore if packaging of project is not 'war'.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • Expression: ${tomcat.ignorePackaging}
  • Default: false

password:

The password to use for deployment
  • Type: java.lang.String
  • Since: 1.0-alpha-2
  • Required: No
  • Expression: ${tomcat.password}

path:

The webapp context path to use for the web application being run. This must always start with a forward-slash ('/').
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${maven.tomcat.path}
  • Default: /${project.artifactId}

server:

The server id in settings.xml to use when authenticating with Tomcat manager, or null to use defaults of username admin and no password.
  • Type: java.lang.String
  • Required: No
  • Expression: ${maven.tomcat.server}

url:

The full URL of the Tomcat manager instance to use.
  • Type: java.net.URL
  • Required: Yes
  • Expression: ${maven.tomcat.url}
  • Default: http://localhost:8080/manager

username:

The tomcat username to use for deployment
  • Type: java.lang.String
  • Since: 1.0-alpha-2
  • Required: No
  • Expression: ${tomcat.username}