Plugin Documentation

Goals available for this plugin:

GoalDescription
t7:runRuns a Tomcat 7 (or 6) instance in the same process as the maven build. Multiple BootstrapHolder not possible. Tomcat registers Classloader at the MBeanServer.
t7:run-forkedRuns a Tomcat 7 (or 6) instance in an separate process (jvm), other than the maven build.
t7:stopStops the Tomcat instance.
t7:stop-forkedStops the forked Tomcat instance.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven2.2
JDK1.6
MemoryNo minimum requirement.
Disk SpaceNo 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>com.googlecode.t7mp</groupId>
          <artifactId>maven-t7-plugin</artifactId>
          <version>0.9.10-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.googlecode.t7mp</groupId>
        <artifactId>maven-t7-plugin</artifactId>
        <version>0.9.10-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"