gwt:i18n

Full name:

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

Description:

Execute the i18nCreator tool

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
constantsWithLookup boolean - If true, create scripts for a ConstantsWithLookup interface rather than a Constants one
messages boolean - If true, create scripts for a Messages interface rather than a Constants one Default value is: true.
resourceBundle String - Shortcut for a single resourceBundle
resourceBundles String[] - The messages ResourceBundles used to generate the GWT i18n inteface
timeOut int - Timeout for i18nCreator execution in a dedicated JVM Default value is: 10000.

Parameter Details

constantsWithLookup:

If true, create scripts for a ConstantsWithLookup interface rather than a Constants one
  • Type: boolean
  • Required: No
  • Expression: gwt.createConstantsWithLookup

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

messages:

If true, create scripts for a Messages interface rather than a Constants one
  • Type: boolean
  • Required: No
  • Expression: gwt.createMessages
  • Default: true

resourceBundle:

Shortcut for a single resourceBundle
  • Type: java.lang.String
  • Required: No

resourceBundles:

The messages ResourceBundles used to generate the GWT i18n inteface
  • Type: java.lang.String[]
  • Required: No

timeOut:

Timeout for i18nCreator execution in a dedicated JVM
  • Type: int
  • Required: No
  • Default: 10000