Full name:
org.codehaus.mojo:gwt-maven-plugin:1.1:test
Description:
Attributes:
test.integration-test.| Name | Type | Since | Description |
|---|---|---|---|
| generateDirectory | File |
- |
Folder where generated-source will be created (automatically added
to compile classpath). Default value is: ${project.build.directory}/generated-sources/gwt. |
| Name | Type | Since | Description |
|---|---|---|---|
| excludes | String |
- |
Comma separated list of ant-style exclusion patterns for GWT integration tests |
| extraArgs | String |
- |
Deprecated. use extraJvmArgs |
| extraJvmArgs | String |
- |
Extra JVM arguments that are passed to the GWT-Maven generated
scripts (for compiler, shell, etc - typically use -Xmx512m here, or
-XstartOnFirstThread, etc).
Can be set from command line using '-Dgwt.extraJvmArgs=...', defaults to setting max Heap size to be large enough for most GWT use cases. Default value is:-Xmx512m. |
| gen | File |
- |
Location on filesystem where GWT will write generated content for
review (-gen option to GWTCompiler).
Can be set from command line using '-Dgwt.gen=...' Default value is:${project.build.directory}/.generated. |
| gwtHome | File |
- |
Location on filesystem where GWT is installed - for manual mode (existing GWT on machine). Setting this parameter will disable gwtVersion. |
| gwtVersion | String |
- |
GWT version used to build dependency paths, should match the "version" in the Maven repo. If not set, will be autodetected from project com.google.gwt:gwt-user dependency |
| includes | String |
- |
Comma separated list of ant-style inclusion patterns for GWT
integration tests. For example, can be set to
**\/*GwtTest.java to match all test class following
this naming convention. Surefire plugin may then ne configured to
exclude such tests.
It is recommended to use a TestSuite to run GwtTests, as they require some huge setup and are very slow. Running inside a suite allow to execute the setup only once. The default value is defined with this best practice in mind. Default value is:**/GwtTest*.java,**/Gwt*Suite.java. |
| inplace | boolean |
- |
Select the place where GWT application is built. In
inplace mode, the warSourceDirectory is used to match
the same use case of the war plugin. Default value is: false. |
| jvm | String |
1.1 |
Option to specify the jvm (or path to the java executable) to use with the forking scripts. For the default, the jvm will be the same as the one used to run Maven. |
| logLevel | String |
- |
GWT logging level (-logLevel ERROR, WARN, INFO, TRACE, DEBUG, SPAM,
or ALL).
Can be set from command line using '-Dgwt.logLevel=...' Default value is:INFO. |
| module | String |
- |
A single GWT module. Shortcut for <modules> or option to specify a single module from command line |
| modules | String[] |
- |
The project GWT modules. If not set, the plugin will scan the
project for .gwt.xml files. |
| out | String |
- |
output directory for code generated by GWT for tests Default value is: target/www-test. |
| reportsDirectory | File |
- |
Directory for test reports, defaults to surefire one to match the
surefire-report plugin Default value is: ${project.build.directory}/surefire-reports. |
| skip | boolean |
- |
Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, especially if you enable it using the "maven.test.skip" property, because maven.test.skip disables both running the tests and compiling the tests. Consider using the skipTests parameter instead. |
| skipExec | boolean |
- |
DEPRECATED This old parameter is just like skipTests, but bound to the old property maven.test.skip.exec. Use -DskipTests instead; it's shorter. |
| skipTests | boolean |
- |
Set this to 'true' to skip running tests, but still compile them. Its use is NOT RECOMMENDED, but quite convenient on occasion. |
| style | String |
- |
GWT JavaScript compiler output style (-style OBF[USCATED], PRETTY,
or DETAILED).
Can be set from command line using '-Dgwt.style=...' Default value is:OBF. |
| testTimeOut | int |
- |
Time out (in seconds) for test execution in dedicated JVM Default value is: 60. |
| timeOut | int |
- |
Forked process execution timeOut. Usefull to avoid maven to hang in continuous integration server. |
| warSourceDirectory | File |
- |
Location of the web application static resources (same as
maven-war-plugin parameter) Default value is: ${basedir}/src/main/webapp. |
| webappDirectory | File |
- |
Location on filesystem where GWT will write output files (-out
option to GWTCompiler). Default value is: ${project.build.directory}/${project.build.finalName}. |
java.lang.StringNojava.lang.StringNo${google.webtoolkit.extrajvmargs}Can be set from command line using '-Dgwt.extraJvmArgs=...', defaults to setting max Heap size to be large enough for most GWT use cases.
java.lang.StringNo${gwt.extraJvmArgs}-Xmx512mgen:
Can be set from command line using '-Dgwt.gen=...'
java.io.FileNo${gwt.gen}${project.build.directory}/.generatedjava.io.FileYes${project.build.directory}/generated-sources/gwtjava.io.FileNo${google.webtoolkit.home}java.lang.StringNo**\/*GwtTest.java to match all test class following
this naming convention. Surefire plugin may then ne configured to
exclude such tests.
It is recommended to use a TestSuite to run GwtTests, as they require some huge setup and are very slow. Running inside a suite allow to execute the setup only once. The default value is defined with this best practice in mind.
java.lang.StringNo**/GwtTest*.java,**/Gwt*Suite.javainplace mode, the warSourceDirectory is used to match
the same use case of the war plugin.booleanNo${gwt.inplace}falsejvm:
java.lang.String1.1No${gwt.jvm}Can be set from command line using '-Dgwt.logLevel=...'
java.lang.StringNo${gwt.logLevel}INFOjava.lang.StringNo${gwt.module}.gwt.xml files.java.lang.String[]Noout:
java.lang.StringNotarget/www-testjava.io.FileNo${project.build.directory}/surefire-reportsskip:
booleanNo${maven.test.skip}booleanNo${maven.test.skip.exec}booleanNo${skipTests}Can be set from command line using '-Dgwt.style=...'
java.lang.StringNo${gwt.style}OBFintNo60intNojava.io.FileNo${basedir}/src/main/webappjava.io.FileNo${gwt.war}${project.build.directory}/${project.build.finalName}