gwt:generateAsync

Full name:

org.codehaus.mojo:gwt-maven-plugin:1.0:generateAsync

Description:

Goal which generate Asyn interface.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • 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
failOnError boolean - Stop the build on error Default value is: false.
rpcExtension String - Extension for GWT-RPC. May be set to "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.
servicePattern String - Pattern for GWT service interface Default value is: **/*Service.java.

Parameter Details

failOnError:

Stop the build on error
  • Type: boolean
  • Required: No
  • Expression: ${maven.gwt.failOnError}
  • 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

rpcExtension:

Extension for GWT-RPC. May be set to "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
  • Expression: ${gwt.rpcExtension}

servicePattern:

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