Full name:
org.codehaus.mojo:gwt-maven-plugin:2.4.0:mergewebxml
Description:
If you use scanRemoteServiceRelativePathAnnotation you must bind this mojo to at least compile phase Because the classpath scanner need to see compile classes
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. |
| webXml | File | - | Source web.xml deployment descriptor that is used for GWT shell and
for deployment WAR to "merge" servlet entries. Default value is: ${basedir}/src/main/webapp/WEB-INF/web.xml. |
| Name | Type | Since | Description |
|---|---|---|---|
| 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). |
| 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) |
| 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. |
| gwtSdkFirstInClasspath | boolean | 2.1.0-1 | 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 Default value is: false. |
| 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. |
| 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. |
| mergedWebXml | File | - | Location on filesystem where merged web.xml will be created. The
maven-war-plugin must be configured to use this path as
webXml parameter Default value is: ${project.build.directory}/web.xml. |
| 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. |
| packageNamePerModule | Map | 2.1.0-1 | (no description) |
| scanRemoteServiceRelativePathAnnotation | boolean | 2.1.0-1 | (no description) Default value is: false. |
| 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. |
| 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. |
| webXmlServletPathAsIs | boolean | - | Specifies whether or not to add the module name as a prefix to the
servlet path when merging web.xml. If you set this to false the
exact path from the GWT module will be used, nothing else will be
prepended. Default value is: false. |
| webappDirectory | File | - | Location on filesystem where GWT will write output files (-out
option to GWTCompiler). Default value is: ${project.build.directory}/${project.build.finalName}. |
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=...'
jvm:
Can be set from command line using '-Dgwt.logLevel=...'
scanRemoteServiceRelativePathAnnotation:
Can be set from command line using '-Dgwt.style=...'