gwt:compile

Full name:

org.codehaus.mojo:gwt-maven-plugin:2.7.0-beta1:compile

Description:

Invokes the GWT Compiler for the project source. See compiler options : http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.html#DevGuideCompilerOptions

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: prepare-package.

Required Parameters

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.

Optional Parameters

Name Type Since Description
checkAssertions boolean - Whether or not to enable assertions in generated scripts (-checkAssertions).
Default value is: false.
closureCompiler boolean 2.5.0-rc1 EXPERIMENTAL: Compile output Javascript with the Closure compiler for even further optimizations.

Can be set from the command line using '-Dgwt.compiler.enableClosureCompiler=true'


Default value is: false.
User property is: gwt.compiler.enableClosureCompiler.
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.
compileReport boolean 2.1.0-1 Compile a report that tells the "Story of Your Compile".

Can be set from command line using '-Dgwt.compiler.compileReport=true'.


Default value is: false.
User property is: gwt.compiler.compileReport.
compileSourcesArtifacts String[] - Artifacts to be included as source-jars in GWTCompiler Classpath. Removes the restriction that source code must be bundled inside of the final JAR when dealing with external utility libraries not designed exclusivelly for GWT. The plugin will download the source.jar if necessary. This option is a workaround to avoid packaging sources inside the same JAR when splitting and application into modules. A smaller JAR can then be used on server classpath and distributed without sources (that may not be desirable).
compilerMetrics boolean 2.5.0-rc1 EXPERIMENTAL: Gather compiler metrics.

Can be set from the command line using '-Dgwt.compiler.compilerMetrics=true'


Default value is: false.
User property is: gwt.compiler.compilerMetrics.
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)
detailedSoyc boolean 2.1.0-1 EXPERIMENTAL: Emit extra, detailed compile-report information in the "Story Of Your Compile" at the expense of compile time.

Can be set from command line using '-Dgwt.compiler.soycDetailed=true'.


Default value is: false.
User property is: gwt.compiler.soycDetailed.
disableAggressiveOptimization boolean 2.5.0-rc1 Deprecated. since 2.6.0-rc1
Default value is: false.
User property is: gwt.compiler.disableAggressiveOptimization.
disableCastChecking boolean - 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 - 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 - 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 - Enable faster, but less-optimized, compilations.

Can be set from command line using '-Dgwt.draftCompile=true'.

This is equivalent to '-Dgwt.compiler.optimizationLevel=0 -Dgwt.compiler.disableAggressiveOptimization=true'.


Default value is: false.
User property is: gwt.draftCompile.
enableJsonSoyc boolean 2.7.0-rc1 EXPERIMENTAL: Emit detailed compile-report information in the "Story Of Your Compile" in the new json format.
Default value is: false.
enforceStrictResources boolean 2.6.0-rc1 EXPERIMENTAL: Avoid adding implicit dependencies on "client" and "public" for modules that don't define any dependencies.
Default value is: false.
User property is: gwt.compiler.enforceStrictResources.
extra File - The directory into which extra, non-deployed files will be written.
Default value is: ${project.build.directory}/extra.
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.
extraParam boolean 2.1.0-1 add -extra parameter to the compiler command line

Can be set from command line using '-Dgwt.extraParam=true'.


Default value is: false.
User property is: gwt.extraParam.
failOnError boolean 2.1.0-1 Fail compilation if any input file contains an error.

Can be set from command line using '-Dgwt.compiler.strict=true'.


Default value is: false.
User property is: gwt.compiler.strict.
force boolean - Don't try to detect if GWT compilation is up-to-date and can be skipped.

Can be set from command line using '-Dgwt.compiler.force=true'.


Default value is: false.
User property is: gwt.compiler.force.
fragmentCount int 2.5.0-rc1 EXPERIMENTAL: Limits of number of fragments using a code splitter that merges split points.

Can be set from the command line using '-Dgwt.compiler.fragmentCount=n'


Default value is: -1.
User property is: gwt.compiler.fragmentCount.
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.
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.
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.
incrementalCompileWarnings boolean 2.7.0-rc1 Whether to show warnings during monolithic compiles for issues that will break in incremental compiles (strict compile errors, strict source directory inclusion, missing dependencies).
Default value is: false.
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.
jsInteropMode String 2.7.0-rc1 EXPERIMENTAL: Specifies JsInterop mode, either NONE, JS, or CLOSURE.
Default value is: NONE.
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.
localWorkers int - On GWT 1.6+, number of parallel processes used to compile GWT premutations. Defaults to platform available processors number.

Can be unset from command line using '-Dgwt.compiler.localWorkers=n'.


User property is: gwt.compiler.localWorkers.
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.
missingDepsFile File 2.7.0-rc1 Specifies a file into which detailed missing dependency information will be written.
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.1.0-1 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.
overlappingSourceWarnings boolean 2.7.0-rc1 Whether to show warnings during monolithic compiles for overlapping source inclusion.
Default value is: false.
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.
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.
saveSource boolean 2.6.0-rc1 Enables saving source code needed by debuggers.
Default value is: false.
User property is: gwt.saveSource.
saveSourceOutput File 2.6.0-rc2 Overrides where source files useful to debuggers will be written.

Default: saved with extras.


skip boolean - (no description)
Default value is: false.
User property is: gwt.compiler.skip.
sourceLevel String 2.6.0-rc1 Specifies Java source level.
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=...'


Default value is: OBF.
User property is: gwt.style.
timeOut int - Forked process execution timeOut. Usefull to avoid maven to hang in continuous integration server.
validateOnly boolean - Validate all source code, but do not compile.

Can be set from command line using '-Dgwt.validateOnly=true'.


Default value is: false.
User property is: gwt.validateOnly.
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}.
User property is: gwt.war.
workDir File - The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)

Parameter Details

checkAssertions:

Whether or not to enable assertions in generated scripts (-checkAssertions).
  • Type: boolean
  • Required: No
  • Default: false

closureCompiler:

EXPERIMENTAL: Compile output Javascript with the Closure compiler for even further optimizations.

Can be set from the command line using '-Dgwt.compiler.enableClosureCompiler=true'

  • Type: boolean
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.compiler.enableClosureCompiler
  • Default: false

clusterFunctions:

EXPERIMENTAL: Cluster similar functions in the output to improve compression.
  • Type: boolean
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: gwt.compiler.clusterFunctions
  • Default: true

compileReport:

Compile a report that tells the "Story of Your Compile".

Can be set from command line using '-Dgwt.compiler.compileReport=true'.

  • Type: boolean
  • Since: 2.1.0-1
  • Required: No
  • User Property: gwt.compiler.compileReport
  • Default: false

compileSourcesArtifacts:

Artifacts to be included as source-jars in GWTCompiler Classpath. Removes the restriction that source code must be bundled inside of the final JAR when dealing with external utility libraries not designed exclusivelly for GWT. The plugin will download the source.jar if necessary. This option is a workaround to avoid packaging sources inside the same JAR when splitting and application into modules. A smaller JAR can then be used on server classpath and distributed without sources (that may not be desirable).
  • Type: java.lang.String[]
  • Required: No

compilerMetrics:

EXPERIMENTAL: Gather compiler metrics.

Can be set from the command line using '-Dgwt.compiler.compilerMetrics=true'

  • Type: boolean
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.compiler.compilerMetrics
  • Default: false

deploy:

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)
  • Type: java.io.File
  • Since: 2.3.0-1
  • Required: No

detailedSoyc:

EXPERIMENTAL: Emit extra, detailed compile-report information in the "Story Of Your Compile" at the expense of compile time.

Can be set from command line using '-Dgwt.compiler.soycDetailed=true'.

  • Type: boolean
  • Since: 2.1.0-1
  • Required: No
  • User Property: gwt.compiler.soycDetailed
  • Default: false

disableAggressiveOptimization:

Deprecated. since 2.6.0-rc1
EXPERIMENTAL: add -XdisableAggressiveOptimization parameter to the compiler command line

Can be set from the command line using '-Dgwt.compiler.disableAggressiveOptimization=true'

  • Type: boolean
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.compiler.disableAggressiveOptimization
  • Default: false

disableCastChecking:

EXPERIMENTAL: Disables run-time checking of cast operations.

Can be set from command line using '-Dgwt.disableCastChecking=true'.

  • Type: boolean
  • Required: No
  • User Property: gwt.disableCastChecking
  • Default: false

disableClassMetadata:

EXPERIMENTAL: Disables some java.lang.Class methods (e.g. getName()).

Can be set from command line using '-Dgwt.disableClassMetadata=true'.

  • Type: boolean
  • Required: No
  • User Property: gwt.disableClassMetadata
  • Default: false

disableRunAsync:

EXPERIMENTAL: Disables code-splitting.

Can be set from command line using '-Dgwt.disableRunAsync=true'.

  • Type: boolean
  • Required: No
  • User Property: gwt.disableRunAsync
  • Default: false

draftCompile:

Enable faster, but less-optimized, compilations.

Can be set from command line using '-Dgwt.draftCompile=true'.

This is equivalent to '-Dgwt.compiler.optimizationLevel=0 -Dgwt.compiler.disableAggressiveOptimization=true'.

  • Type: boolean
  • Required: No
  • User Property: gwt.draftCompile
  • Default: false

enableJsonSoyc:

EXPERIMENTAL: Emit detailed compile-report information in the "Story Of Your Compile" in the new json format.
  • Type: boolean
  • Since: 2.7.0-rc1
  • Required: No
  • Default: false

enforceStrictResources:

EXPERIMENTAL: Avoid adding implicit dependencies on "client" and "public" for modules that don't define any dependencies.
  • Type: boolean
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: gwt.compiler.enforceStrictResources
  • Default: false

extra:

The directory into which extra, non-deployed files will be written.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/extra

extraJvmArgs:

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.

  • Type: java.lang.String
  • Required: No
  • User Property: gwt.extraJvmArgs
  • Default: -Xmx512m

extraParam:

add -extra parameter to the compiler command line

Can be set from command line using '-Dgwt.extraParam=true'.

  • Type: boolean
  • Since: 2.1.0-1
  • Required: No
  • User Property: gwt.extraParam
  • Default: false

failOnError:

Fail compilation if any input file contains an error.

Can be set from command line using '-Dgwt.compiler.strict=true'.

  • Type: boolean
  • Since: 2.1.0-1
  • Required: No
  • User Property: gwt.compiler.strict
  • Default: false

force:

Don't try to detect if GWT compilation is up-to-date and can be skipped.

Can be set from command line using '-Dgwt.compiler.force=true'.

  • Type: boolean
  • Required: No
  • User Property: gwt.compiler.force
  • Default: false

fragmentCount:

EXPERIMENTAL: Limits of number of fragments using a code splitter that merges split points.

Can be set from the command line using '-Dgwt.compiler.fragmentCount=n'

  • Type: int
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.compiler.fragmentCount
  • Default: -1

gen:

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=...'

  • Type: java.io.File
  • Required: No
  • User Property: gwt.gen
  • Default: ${project.build.directory}/.generated

genParam:

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.

  • Type: boolean
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.genParam
  • Default: true

generateDirectory:

Folder where generated-source will be created (automatically added to compile classpath).
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/generated-sources/gwt

gwtSdkFirstInClasspath:

Deprecated. tweak your dependencies and/or split your project with a client-only module
The forked command line will use gwt sdk jars first in classpath. see issue http://code.google.com/p/google-web-toolkit/issues/detail?id=5290
  • Type: boolean
  • Since: 2.1.0-1
  • Required: No
  • User Property: gwt.gwtSdkFirstInClasspath
  • Default: false

incremental:

Compiles faster by reusing data from the previous compile.
  • Type: boolean
  • Since: 2.7.0-rc1
  • Required: No
  • User Property: gwt.compiler.incremental
  • Default: false

incrementalCompileWarnings:

Whether to show warnings during monolithic compiles for issues that will break in incremental compiles (strict compile errors, strict source directory inclusion, missing dependencies).
  • Type: boolean
  • Since: 2.7.0-rc1
  • Required: No
  • Default: false

inlineLiteralParameters:

EXPERIMENTAL: Inline literal parameters to shrink function declarations and provide more deadcode elimination possibilities.
  • Type: boolean
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: gwt.compiler.inlineLiteralParameters
  • Default: true

inplace:

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.
  • Type: boolean
  • Required: No
  • User Property: gwt.inplace
  • Default: false

jsInteropMode:

EXPERIMENTAL: Specifies JsInterop mode, either NONE, JS, or CLOSURE.
  • Type: java.lang.String
  • Since: 2.7.0-rc1
  • Required: No
  • Default: NONE

jvm:

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.
  • Type: java.lang.String
  • Since: 1.1
  • Required: No
  • User Property: gwt.jvm

localWorkers:

On GWT 1.6+, number of parallel processes used to compile GWT premutations. Defaults to platform available processors number.

Can be unset from command line using '-Dgwt.compiler.localWorkers=n'.

  • Type: int
  • Required: No
  • User Property: gwt.compiler.localWorkers

logLevel:

GWT logging level (-logLevel ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL).

Can be set from command line using '-Dgwt.logLevel=...'

  • Type: java.lang.String
  • Required: No
  • User Property: gwt.logLevel
  • Default: INFO

missingDepsFile:

Specifies a file into which detailed missing dependency information will be written.
  • Type: java.io.File
  • Since: 2.7.0-rc1
  • Required: No

module:

A single GWT module. Shortcut for <modules> or option to specify a single module from command line
  • Type: java.lang.String
  • Required: No
  • User Property: gwt.module

modulePathPrefix:

Prefix to prepend to module names inside webappDirectory or in URLs in DevMode.

Could also be seen as a suffix to webappDirectory.

  • Type: java.lang.String
  • Required: No
  • User Property: gwt.modulePathPrefix

modules:

The project GWT modules. If not set, the plugin will scan the project for .gwt.xml files.
  • Type: java.lang.String[]
  • Required: No

namespace:

Puts most JavaScript globals into namespaces.

Value is one of PACKAGE or NONE.

Default: PACKAGE for -draftCompile, otherwise NONE

  • Type: java.lang.String
  • Since: 2.7.0-rc1
  • Required: No

optimizationLevel:

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'.

  • Type: int
  • Since: 2.1.0-1
  • Required: No
  • User Property: gwt.compiler.optimizationLevel
  • Default: -1

optimizeDataflow:

EXPERIMENTAL: Analyze and optimize dataflow. since 2.6.0-rc1
  • Type: boolean
  • Required: No
  • User Property: gwt.compiler.optimizeDataflow
  • Default: true

ordinalizeEnums:

EXPERIMENTAL: Ordinalize enums to reduce some large strings.
  • Type: boolean
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: gwt.compiler.ordinalizeEnums
  • Default: true

overlappingSourceWarnings:

Whether to show warnings during monolithic compiles for overlapping source inclusion.
  • Type: boolean
  • Since: 2.7.0-rc1
  • Required: No
  • Default: false

persistentunitcache:

Whether to use the persistent unit cache or not.

Can be set from command line using '-Dgwt.persistentunitcache=...'

  • Type: java.lang.Boolean
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.persistentunitcache

persistentunitcachedir:

The directory where the persistent unit cache will be created if enabled.

Can be set from command line using '-Dgwt.persistentunitcachedir=...'

  • Type: java.io.File
  • Since: 2.5.0-rc1
  • Required: No
  • User Property: gwt.persistentunitcachedir

removeDuplicateFunctions:

EXPERIMENTAL: Removing duplicate functions.

Will interfere with stacktrace deobfuscation and so is only honored when compiler.stackMode is set to strip.

  • Type: boolean
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: gwt.compiler.removeDuplicateFunctions
  • Default: true

saveSource:

Enables saving source code needed by debuggers.
  • Type: boolean
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: gwt.saveSource
  • Default: false

saveSourceOutput:

Overrides where source files useful to debuggers will be written.

Default: saved with extras.

  • Type: java.io.File
  • Since: 2.6.0-rc2
  • Required: No

skip:

(no description)
  • Type: boolean
  • Required: No
  • User Property: gwt.compiler.skip
  • Default: false

sourceLevel:

Specifies Java source level.
  • Type: java.lang.String
  • Since: 2.6.0-rc1
  • Required: No
  • User Property: maven.compiler.source
  • Default: auto

style:

GWT JavaScript compiler output style (-style OBF[USCATED], PRETTY, or DETAILED).

Can be set from command line using '-Dgwt.style=...'

  • Type: java.lang.String
  • Required: No
  • User Property: gwt.style
  • Default: OBF

timeOut:

Forked process execution timeOut. Usefull to avoid maven to hang in continuous integration server.
  • Type: int
  • Required: No

validateOnly:

Validate all source code, but do not compile.

Can be set from command line using '-Dgwt.validateOnly=true'.

  • Type: boolean
  • Required: No
  • User Property: gwt.validateOnly
  • Default: false

warSourceDirectory:

Location of the web application static resources (same as maven-war-plugin parameter)
  • Type: java.io.File
  • Required: No
  • Default: ${basedir}/src/main/webapp

webappDirectory:

Location on filesystem where GWT will write output files (-out option to GWTCompiler).
  • Type: java.io.File
  • Required: No
  • User Property: gwt.war
  • Default: ${project.build.directory}/${project.build.finalName}

workDir:

The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
  • Type: java.io.File
  • Required: No