tomcat6:shutdown

Full name:

org.apache.tomcat.maven:tomcat6-maven-plugin:2.0-beta-1:shutdown

Description:

Shuts down all possibly started embedded tomcat servers. This will be automatically down 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: 1.1.

Required Parameters

Name Type Since Description
path String 1.1 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}.

Optional Parameters

Name Type Since Description
skipErrorOnShutdown boolean 2.0 Ignore error when shutdown
Default value is: false.

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: 1.1
  • Required: Yes
  • Expression: ${maven.tomcat.path}
  • Default: /${project.artifactId}

skipErrorOnShutdown:

Ignore error when shutdown
  • Type: boolean
  • Since: 2.0
  • Required: No
  • Expression: ${maven.tomcat.skipErrorOnShutdown}
  • Default: false