Full name:
org.codehaus.mojo:gwt-maven-plugin:2.8.2-SNAPSHOT:compile
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 |
---|---|---|---|
checkAssertions | boolean | - | Whether or not to enable assertions in generated scripts
(-checkAssertions). Default value is: false. |
closureCompiler | boolean | 2.5.0-rc1 | Deprecated. https://github.com/gwtproject/gwt/commit/162ccc9c9112a09bf9ea046da95760f5f1886b72 Default value is: false. User property is: gwt.compiler.enableClosureCompiler. |
closureFormattedOutput | boolean | 2.8.0 | Enables Javascript output suitable for post-compilation by Closure
Compiler. Default value is: false. User property is: gwt.compiler.closureFormattedOutput. |
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[] | - | Deprecated. add a <classifier>sources</classifier>
dependency instead |
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. |
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'. 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. |
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. |
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. |
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. |
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. |
methodNameDisplayMode | String | 2.7.0-rc1 | EXPERIMENTAL: Emit extra information allow chrome dev tools to
display Java identifiers in many places instead of JavaScript
functions.
Value can be one of NONE, ONLY_METHOD_NAME, ABBREVIATED or FULL. Default value is: NONE. User property is: gwt.compiler.methodNameDisplayMode. |
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 | - | (no description) 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. |
printJavaCommandOnError | boolean | - | Indicates whether to print the whole Java command used for GWT
compilation, in case of an error. If set to false, the command is
not printed. Ability to disable the command comes handy in case the
build uses big number (hundreds) of jars. In that case the
classpath string is huge and the printed command is polluting the
Maven build log. Default value is: true. User property is: gwt.compiler.printJavaCommandOnError. |
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=...' 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) |
Can be set from the command line using '-Dgwt.compiler.enableClosureCompiler=true'
Can be set from command line using '-Dgwt.compiler.compileReport=true'.
Can be set from the command line using '-Dgwt.compiler.compilerMetrics=true'
Can be set from command line using '-Dgwt.compiler.soycDetailed=true'.
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.
Can be set from command line using '-Dgwt.extraParam=true'.
Can be set from command line using '-Dgwt.compiler.strict=true'.
Can be set from command line using '-Dgwt.compiler.force=true'.
Can be set from the command line using '-Dgwt.compiler.fragmentCount=n'
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.
jvm:
Can be unset from command line using '-Dgwt.compiler.localWorkers=n'.
Can be set from command line using '-Dgwt.logLevel=...'
Value can be one of NONE, ONLY_METHOD_NAME, ABBREVIATED or FULL.
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'.
Can be set from command line using '-Dgwt.persistentunitcache=...'
Can be set from command line using '-Dgwt.persistentunitcachedir=...'
Will interfere with stacktrace deobfuscation and so is only honored when compiler.stackMode is set to strip.
Default: saved with extras.
skip:
Can be set from command line using '-Dgwt.style=...'
Can be set from command line using '-Dgwt.validateOnly=true'.