tomcat7:shutdown

Full name:

org.apache.tomcat.maven:tomcat7-maven-plugin:2.1:shutdown

Description:

Shuts down all possibly started embedded Tomcat servers. This will be automatically done through a shutdown hook or you may call this Mojo to shut them down explictly.

By default the shutdown goal is not bound to any phase. For integration tests you might want to bind it to post-integration-test.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Since version: 2.0.

Required Parameters

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.

Optional Parameters

Name Type Since Description
skip boolean 2.0 Skip execution
Default value is: false.
User property is: maven.tomcat.skipShutdown.
skipErrorOnShutdown boolean 2.0 Ignore error when shutdown
Default value is: false.
User property is: maven.tomcat.skipErrorOnShutdown.

Parameter Details

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
  • Since: 2.0
  • Required: Yes
  • User Property: maven.tomcat.path
  • Default: /${project.artifactId}

skip:

Skip execution
  • Type: boolean
  • Since: 2.0
  • Required: No
  • User Property: maven.tomcat.skipShutdown
  • Default: false

skipErrorOnShutdown:

Ignore error when shutdown
  • Type: boolean
  • Since: 2.0
  • Required: No
  • User Property: maven.tomcat.skipErrorOnShutdown
  • Default: false