Fork me on GitHub

gwt:generateAsync

Full name:

org.codehaus.mojo:gwt-maven-plugin:2.8.2-SNAPSHOT:generateAsync

Description:

Goal which generate Async interface.

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: generate-sources.

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
encoding String - (no description)
User property is: project.build.sourceEncoding.
failOnError boolean - Stop the build on error
Default value is: true.
User property is: maven.gwt.failOnError.
force boolean - Pattern for GWT service interface
Default value is: false.
User property is: generateAsync.force.
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.
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.
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.
returnRequest boolean - Return a com.google.gwt.http.client.Request on async interface to allow cancellation.
Default value is: false.
rpcPattern String - A (MessageFormat) Pattern to get the GWT-RPC servlet URL based on service interface name. For example to "{0}.rpc" if you want to map GWT-RPC calls to "*.rpc" in web.xml, for example when using Spring dispatch servlet to handle RPC requests.
Default value is: {0}.
User property is: gwt.rpcPattern.
servicePattern String - Pattern for GWT service interface
Default value is: **/*Service.java.
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.

Parameter Details

encoding:

(no description)
  • Type: java.lang.String
  • Required: No
  • User Property: project.build.sourceEncoding

failOnError:

Stop the build on error
  • Type: boolean
  • Required: No
  • User Property: maven.gwt.failOnError
  • Default: true

force:

Pattern for GWT service interface
  • Type: boolean
  • Required: No
  • User Property: generateAsync.force
  • Default: false

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

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

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

returnRequest:

Return a com.google.gwt.http.client.Request on async interface to allow cancellation.
  • Type: boolean
  • Required: No
  • Default: false

rpcPattern:

A (MessageFormat) Pattern to get the GWT-RPC servlet URL based on service interface name. For example to "{0}.rpc" if you want to map GWT-RPC calls to "*.rpc" in web.xml, for example when using Spring dispatch servlet to handle RPC requests.
  • Type: java.lang.String
  • Required: No
  • User Property: gwt.rpcPattern
  • Default: {0}

servicePattern:

Pattern for GWT service interface
  • Type: java.lang.String
  • Required: No
  • Default: **/*Service.java

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}