Goals available for this plugin:
| Goal | Description |
|---|---|
| gwt:clean | Cleanup the webapp directory for GWT module compilation output |
| gwt:compile | Invokes the GWTCompiler for the project source. |
| gwt:debug | Extends the gwt goal and runs the project in the GWT Hosted mode with a debugger port hook (optionally suspended). |
| gwt:eclipse | Goal which creates Eclipse lauch configurations for GWT modules. |
| gwt:eclipseTest | Deprecated. use google eclipse plugin http://code.google.com/intl/fr-FR/eclipse/docs/users_guide.html |
| gwt:generateAsync | Goal which generate Asyn interface. |
| gwt:help | Display help information on gwt-maven-plugin. Call
mvn gwt:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. |
| gwt:i18n | Creates I18N interfaces for constants and messages files. |
| gwt:mergewebxml | Merges GWT servlet elements into deployment descriptor (and non GWT servlets into shell). |
| gwt:resources | Copy GWT java source code and module descriptor as resources in the build outputDirectory. Alternative to declaring a <resource> in the POM with finer filtering as the module descriptor is read to detect sources to be copied. |
| gwt:run | Goal which run a GWT module in the GWT Hosted mode. |
| gwt:test | Mimic surefire to run GWTTestCases during integration-test phase, until SUREFIRE-508 is fixed |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0.9 |
| JDK | 1.4 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
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>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>