Full name:
org.codehaus.mojo:gwt-maven-plugin:2.8.2-SNAPSHOT:eclipseTest
This plugin goal has been deprecated:
Description:
Attributes:
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 |
---|---|---|---|
batch | String | 2.5.0-rc1 | Configure batch execution of tests.
Value must be one of 'none', 'class' or 'module'. User property is: gwt.test.batch. |
checkAssertions | boolean | 2.6.0-rc1 | Whether or not to enable assertions in generated scripts
(-checkAssertions). Default value is: false. |
clusterFunctions | boolean | 2.6.0-rc1 | EXPERIMENTAL: Cluster similar functions in the output to improve
compression. Default value is: true. User property is: gwt.compiler.clusterFunctions. |
compileSourcesArtifacts | String[] | - | Deprecated. add a <classifier>sources</classifier>
dependency instead |
deploy | File | 2.3.0-1 | The directory into which deployable but not servable output files
will be written (defaults to 'WEB-INF/deploy' under the
webappDirectory directory/jar, and may be the same as the extra
directory/jar) |
disableCastChecking | boolean | 2.6.0-rc1 | EXPERIMENTAL: Disables run-time checking of cast operations.
Can be set from command line using '-Dgwt.disableCastChecking=true'. Default value is: false. User property is: gwt.disableCastChecking. |
disableClassMetadata | boolean | 2.6.0-rc1 | EXPERIMENTAL: Disables some java.lang.Class methods (e.g.
getName()).
Can be set from command line using '-Dgwt.disableClassMetadata=true'. Default value is: false. User property is: gwt.disableClassMetadata. |
disableRunAsync | boolean | 2.6.0-rc1 | EXPERIMENTAL: Disables code-splitting.
Can be set from command line using '-Dgwt.disableRunAsync=true'. Default value is: false. User property is: gwt.disableRunAsync. |
draftCompile | boolean | 2.6.0-rc1 | Enable faster, but less-optimized, compilations.
Can be set from command line using '-Dgwt.draftCompile=true'. Default value is: false. User property is: gwt.draftCompiler. |
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. User property is: gwt.extraJvmArgs. |
gen | File | - | Location on filesystem where GWT will write generated content for
review (-gen option to GWT Compiler).
Can be set from command line using '-Dgwt.gen=...' Default value is: ${project.build.directory}/.generated. User property is: gwt.gen. |
genParam | boolean | 2.5.0-rc1 | Whether to add -gen parameter to the compiler command line
Can be set from command line using '-Dgwt.genParam=false'. Defaults to 'true' for backwards compatibility. Default value is: true. User property is: gwt.genParam. |
generateJsInteropExports | boolean | 2.8.0-rc1 | Generate exports for JsInterop purposes. Default value is: false. User property is: gwt.compiler.generateJsInteropExports. |
gwtSdkFirstInClasspath | boolean | 2.1.0-1 | Deprecated. tweak your dependencies and/or split your project with a
client-only module Default value is: false. User property is: gwt.gwtSdkFirstInClasspath. |
htmlunit | String | - | Configure options to run tests with HTMLUnit. The value must
describe the browser emulation to be used, FF31, FF38, IE8, IE11,
Chrome or Edge (possible multiple values separated by comas). Default value is: FF38. User property is: gwt.test.htmlunit. |
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. |
incremental | boolean | 2.7.0-rc1 | Compiles faster by reusing data from the previous compile. Default value is: false. User property is: gwt.compiler.incremental. |
inlineLiteralParameters | boolean | 2.6.0-rc1 | EXPERIMENTAL: Inline literal parameters to shrink function
declarations and provide more deadcode elimination possibilities. Default value is: true. User property is: gwt.compiler.inlineLiteralParameters. |
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:inplace
http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html
goal. Default value is: false. User property is: gwt.inplace. |
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. User property is: gwt.jvm. |
logDir | File | 2.6.0-rc1 | Logs to a file in the given directory |
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. User property is: gwt.logLevel. |
mode | String | - | Configure test mode. Can be set to "manual", "htmlunit" or
"selenium". If set to any other value, that value will be passed as
the -runStyle argument, allowing you to use an
arbitrary RunStyle when running tests. Default value is: htmlunit. User property is: gwt.test.mode. |
module | String | - | A single GWT module. Shortcut for <modules> or option to
specify a single module from command line User property is: gwt.module. |
modulePathPrefix | String | - | Prefix to prepend to module names inside
webappDirectory or in URLs in DevMode.
Could also be seen as a suffix to webappDirectory. User property is: gwt.modulePathPrefix. |
modules | String[] | - | The project GWT modules. If not set, the plugin will scan the
project for .gwt.xml files. |
namespace | String | 2.7.0-rc1 | Puts most JavaScript globals into namespaces.
Value is one of PACKAGE or NONE. Default: PACKAGE for -draftCompile, otherwise NONE |
optimizationLevel | int | 2.6.0-rc1 | Sets the optimization level used by the compiler. 0=none 9=maximum.
-1 uses the default level of the compiler. Can be set from command line using '-Dgwt.compiler.optimizationLevel=n'. Default value is: -1. User property is: gwt.compiler.optimizationLevel. |
optimizeDataflow | boolean | - | EXPERIMENTAL: Analyze and optimize dataflow. since 2.6.0-rc1 Default value is: true. User property is: gwt.compiler.optimizeDataflow. |
ordinalizeEnums | boolean | 2.6.0-rc1 | EXPERIMENTAL: Ordinalize enums to reduce some large strings. Default value is: true. User property is: gwt.compiler.ordinalizeEnums. |
out | String | - | output directory for code generated by GWT for tests Default value is: ${project.build.directory}/www-test. |
persistentunitcache | Boolean | 2.5.0-rc1 | Whether to use the persistent unit cache or not.
Can be set from command line using '-Dgwt.persistentunitcache=...' User property is: gwt.persistentunitcache. |
persistentunitcachedir | File | 2.5.0-rc1 | The directory where the persistent unit cache will be created if
enabled.
Can be set from command line using '-Dgwt.persistentunitcachedir=...' User property is: gwt.persistentunitcachedir. |
precompile | String | 2.6.0-rc1 | Precompile modules as tests are running (speeds up remote tests but
requires more memory)
The value is one of simple, all, or parallel. Default value is: simple. User property is: gwt.test.precompile. |
productionMode | boolean | - | run tests using production mode rather than development (a.k.a.
hosted) mode. Default value is: false. User property is: gwt.test.prod. |
removeDuplicateFunctions | boolean | 2.6.0-rc1 | EXPERIMENTAL: Removing duplicate functions.
Will interfere with stacktrace deobfuscation and so is only honored when compiler.stackMode is set to strip. Default value is: true. User property is: gwt.compiler.removeDuplicateFunctions. |
reportsDirectory | File | - | Directory for test reports, defaults to surefire one to match the
surefire-report plugin Default value is: ${project.build.directory}/surefire-reports. |
selenium | String | - | Configure options to run tests with Selenium. The value must
describe the Selenium Remote Control target User property is: gwt.test.selenium. |
showUi | boolean | 2.6.0-rc1 | Causes the log window and browser windows to be displayed; useful
for debugging. Default value is: false. User property is: gwt.test.showUi. |
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. User property is: maven.test.skip. |
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. User property is: maven.test.skip.exec. |
skipTests | boolean | - | Set this to 'true' to skip running tests, but still compile them.
Its use is NOT RECOMMENDED, but quite convenient on occasion. User property is: skipTests. |
sourceLevel | String | 2.6.0-rc1 | Specifies Java source level.
The default value depends on the JVM used to launch Maven. Default value is: auto. User property is: maven.compiler.source. |
style | String | - | GWT JavaScript compiler output style (-style OBF[USCATED], PRETTY,
or DETAILED).
Can be set from command line using '-Dgwt.style=...' User property is: gwt.style. |
testBeginTimeout | int | 2.6.0-rc1 | Set the test begin timeout (time for clients to contact server), in
minutes Default value is: 1. User property is: gwt.testBeginTimeout. |
testFailureIgnore | boolean | - | Set this to true to ignore a failure during testing. Its use is NOT
RECOMMENDED, but quite convenient on occasion. User property is: maven.test.failure.ignore. |
testMethodTimeout | int | 2.6.0-rc1 | Set the test method timeout, in minutes Default value is: 5. User property is: gwt.testMethodTimeout. |
testOutputDirectory | File | - | Location of the file. Default value is: ${project.build.directory}/www-test. |
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. |
tries | int | 2.6.0-rc1 | EXPERIMENTAL: Sets the maximum number of attempts for running each
test method Default value is: 1. User property is: gwt.test.tries. |
userAgents | String | 2.5.0-rc1 | Specify the user agents to reduce the number of permutations in
'-prod' mode; e.g. ie8,safari,gecko1_8 User property is: gwt.test.userAgents. |
warSourceDirectory | File | - | Location of the web application static resources (same as
maven-war-plugin parameter) Default value is: ${basedir}/src/main/webapp. |
webMode | boolean | - | Deprecated. Use productionMode instead. Default value is: false. User property is: gwt.test.web. |
webappDirectory | File | - | Location on filesystem where GWT will write output files (-out
option to GWTCompiler). Default value is: ${project.build.directory}/${project.build.finalName}. User property is: gwt.war. |
workDir | File | 2.6.0-rc1 | The compiler's working directory for internal use (must be
writeable; defaults to a system temp dir) |
Value must be one of 'none', 'class' or 'module'.
Can be set from command line using '-Dgwt.disableCastChecking=true'.
Can be set from command line using '-Dgwt.disableClassMetadata=true'.
Can be set from command line using '-Dgwt.disableRunAsync=true'.
Can be set from command line using '-Dgwt.draftCompile=true'.
Can be set from command line using '-Dgwt.extraJvmArgs=...', defaults to setting max Heap size to be large enough for most GWT use cases.
gen:
Can be set from command line using '-Dgwt.gen=...'
Can be set from command line using '-Dgwt.genParam=false'. Defaults to 'true' for backwards compatibility.
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.
jvm:
Can be set from command line using '-Dgwt.logLevel=...'
mode:
Could also be seen as a suffix to webappDirectory.
Value is one of PACKAGE or NONE.
Default: PACKAGE for -draftCompile, otherwise NONE
-1 uses the default level of the compiler.
Can be set from command line using '-Dgwt.compiler.optimizationLevel=n'.
out:
Can be set from command line using '-Dgwt.persistentunitcache=...'
Can be set from command line using '-Dgwt.persistentunitcachedir=...'
The value is one of simple, all, or parallel.
Will interfere with stacktrace deobfuscation and so is only honored when compiler.stackMode is set to strip.
skip:
The default value depends on the JVM used to launch Maven.
Can be set from command line using '-Dgwt.style=...'