Apache Maven 3 Cookbook
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Google Development with <strong>Maven</strong><br />
There's more...<br />
The <strong>Maven</strong>-GWT plugin provides the following goals:<br />
Goal Report? Description<br />
gwt:clean<br />
No<br />
Clean up the webapp directory for GWT module compilation<br />
output.<br />
gwt:compile No<br />
It invokes the GWT compiler for the project source. See compiler<br />
options.<br />
gwt:css<br />
No<br />
It creates a CSS interfaces for .css files. It uses the utility tool<br />
provided in gwt sdk, which creates a corresponding Java<br />
interface for accessing the class names used in the file.<br />
gwt:debug No<br />
It extends the gwt goal and runs the project in the GWT hosted<br />
mode with a debugger port hook (optionally suspended).<br />
gwt:eclipse No<br />
A goal which creates Eclipse launch configurations for GWT<br />
modules.<br />
gwt:generateAsync No It generates an Asyn interface.<br />
gwt:i18n No It creates I18N interfaces for constants and messages files.<br />
gwt:mergewebxml No<br />
It merges GWT servlet elements into deployment descriptor (and<br />
non GWT servlets into shell).<br />
gwt:resources No<br />
It copies GWT Java source code and module descriptor as<br />
resources in the build output directory. It is an alternative to<br />
declaring a in the POM with finer filtering as the<br />
module descriptor is read to detect sources to be copied.<br />
gwt:run No It is a goal which runs a GWT module in the GWT hosted mode.<br />
gwt:sdkInstall No Install a GWT (home built) SDK in local repository.<br />
gwt:source-jar No<br />
Add GWT Java source code and module descriptor as resources<br />
to the project jar. It is an alternative to gwt:resources for<br />
better Eclipse project synchronization.<br />
gwt:test<br />
No<br />
Mimic Surefire to run GWTTestCases during integration test<br />
phase, until SUREFIRE-508 is fixed.<br />
Additional details, updates, and documentation for this plugin are<br />
available at http://mojo.codehaus.org/gwt-maven-plugin/.<br />
138