Plugin Documentation
Goals available for this plugin:
| Goal | Description | 
|---|---|
| tomcat6:deploy | Deploy a WAR to Tomcat. | 
| tomcat6:deploy-only | Deploy a WAR to Tomcat witjout forking the package lifecycle | 
| tomcat6:exploded | Deploy an exploded WAR to Tomcat. | 
| tomcat6:info | Lists information about the Tomcat version, OS, and JVM properties. | 
| tomcat6:inplace | Deploy a WAR in-place to Tomcat. | 
| tomcat6:list | Lists all the currently deployed web applications in Tomcat. | 
| tomcat6:redeploy | Redeploy a WAR in Tomcat. Deploy with forcing update flag to true | 
| tomcat6:reload | Reload a WAR in Tomcat. | 
| tomcat6:resources | Lists JNDI resources in Tomcat. | 
| tomcat6:roles | Lists security roles in Tomcat. | 
| tomcat6:run | Runs the current project as a dynamic web application using an embedded Tomcat server. | 
| tomcat6:run-war | Runs the current project as a packaged web application using an embedded Tomcat server. | 
| tomcat6:run-war-only | Runs the current project as a packaged web application using an embedded Tomcat server without forking the package cycle. | 
| tomcat6:sessions | Lists session information for a WAR in Tomcat. | 
| tomcat6:shutdown | 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   | 
| tomcat6:start | Start a WAR in Tomcat. | 
| tomcat6:stop | Stop a WAR in Tomcat. | 
| tomcat6:undeploy | Undeploy a WAR from Tomcat. | 
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0.8 | 
| JDK | 1.5 | 
| Memory | No minimum requirement. | 
| Disk Space | No minimum requirement. | 
Usage
You should specify the version in your project's plugin configuration:
<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.tomcat.maven</groupId>
          <artifactId>tomcat6-maven-plugin</artifactId>
          <version>2.0-beta-1</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.tomcat.maven</groupId>
        <artifactId>tomcat6-maven-plugin</artifactId>
        <version>2.0-beta-1</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>
For more information, see "Guide to Configuring Plug-ins"