Plugin documentation

Goals available for this plugin:

Goal Description
googlewebtoolkit2:test Runs special (non surefire) test phase for GWTTestCase derived tests. This is necessary because of several complications with regard to surefire and the classpath for GWTTestCase/JUnitShell. See further notes in source.
googlewebtoolkit2:debug Extends the gwt goal and runs the project in the GWTShell with a debugger port hook (optionally suspended).
googlewebtoolkit2:generateClientBeans Generates client beans for the project (currently unsupported).
googlewebtoolkit2:compile Invokes the GWTCompiler for the project source.
googlewebtoolkit2:i18n Creates I18N interfaces for constants and messages files.
googlewebtoolkit2:gwt Runs the the project in the GWTShell for development. Note that this goal is intended to be explicitly run from the command line (execute phase=), whereas other GWT-Maven goals are not (others happen as part of the standard Maven life-cycle phases: "compile" "test" "install").
googlewebtoolkit2:mergewebxml Merges GWT servlet elements into deployment descriptor (and non GWT servlets into shell).

System Requirements

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

Maven 2.0
JDK 1.5
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You could run 'mvn -up' to get the latest version of this plugin, or 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.totsp.gwt<groupId>
          <artifactId>maven-googlewebtoolkit2-plugin<artifactId>
          <version>2.0-beta26<version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.totsp.gwt<groupId>
        <artifactId>maven-googlewebtoolkit2-plugin<artifactId>
        <version>2.0-beta26<version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>
For more information, see "Guide to Configuring Plug-ins"