tomcat:stop

Stop a WAR in Tomcat.

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.

Required Parameters

Name Type 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 when communicating with Tomcat manager. This must always start with a forward-slash ('/').
url URL The full URL of the Tomcat manager instance to use. Default value is http://localhost:8080/manager.

Optional Parameters

Name Type Description
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.

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

path The webapp context path to use when communicating with Tomcat manager. This must always start with a forward-slash ('/').
  • Type: java.lang.String
  • Required: Yes
  • Expression: /${project.build.finalName}

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