Goals available for this plugin:
Goal | Description |
---|---|
gwt:add-super-sources | Add super-source directory to project resources.
The super-source directory contains emulated classes for GWT.
Super-sources in GWT need to be in a subdirectory of the GWT
module, and you can automatically relocate the super-source content
within a |
gwt:add-test-super-sources | Add super-source directory to project test resources.
The super-source directory contains emulated classes for GWT.
Super-sources in GWT need to be in a subdirectory of the GWT
module, and you can automatically relocate the super-source content
within a |
gwt:codeserver | Runs GWT's CodeServer (SuperDevMode). |
gwt:compile | Invokes the GWT Compiler on the project's sources and resources. |
gwt:devmode | Runs GWT's DevMode. |
gwt:enforce-encoding | Enforces that the source encoding is UTF-8. |
gwt:generate-module | Generates a GWT module definition from Maven dependencies, or merge
<inherits/> with a module template.
When no module template exist, the behavior is identical to using an empty file.
If Unless the module template contains a source folder (either
|
gwt:generate-module-metadata | Generates the META-INF/gwt/mainModule file used by
gwt:generate-module in downstream projects. |
gwt:help | Display help information on gwt-maven-plugin. Call mvn gwt:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
gwt:package-app | Package the compiled GWT application into a WAR-like archive. |
gwt:package-lib | Package the compiled GWT library into a JAR archive. |
gwt:test | Runs the project's tests with the specific setup needed for
GWTTestCase tests.
Please note that some documentation is inherited from Surefire and cannot be changed, so versions (mainly) and other bits of documentation might be wrong or irrelevant. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.3.1 |
JDK | 7 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
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>net.ltgt.gwt.maven</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>1.0.1</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>net.ltgt.gwt.maven</groupId> <artifactId>gwt-maven-plugin</artifactId> <version>1.0.1</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"