Full name:
org.codehaus.mojo:gwt-maven-plugin:1.1:eclipseTest
This plugin goal has been deprecated:
Description:
Attributes:
generate-test-resources prior to executing itself.| 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 |
| 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. |
| 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. |
| 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. |
| testOutputDirectory | File |
- |
Location of the file. Default value is: ${project.build.directory}/www-test. |
| timeOut | int |
- |
Time out for test execution in dedicated JVM Default value is: 60. |
| 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.StringNoCan 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}-Xmx512mjava.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}falseout:
java.lang.StringNotarget/www-testjava.io.FileNo${project.build.directory}/surefire-reportsskip:
booleanNo${maven.test.skip}booleanNo${maven.test.skip.exec}booleanNo${skipTests}java.io.FileNo${project.build.directory}/www-testintNo60java.io.FileNo${basedir}/src/main/webappjava.io.FileNo${gwt.war}${project.build.directory}/${project.build.finalName}