Fork me on GitHub

gwt:generate-module-metadata

Full name:

net.ltgt.gwt.maven:gwt-maven-plugin:1.0.1:generate-module-metadata

Description:

Generates the META-INF/gwt/mainModule file used by gwt:generate-module in downstream projects.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: generate-resources.

Required Parameters

Name Type Since Description
<outputDirectory> File - The directory where the generated mainModule file will be put.
Default value is: ${project.build.outputDirectory}/META-INF/gwt.

Optional Parameters

Name Type Since Description
<moduleName> String - The main GWT module of the project.
<skipModuleMetadata> boolean - A flag to disable generation of the mainModule.
Default value is: false.

Parameter Details

<moduleName>

The main GWT module of the project.
  • Type: java.lang.String
  • Required: No

<outputDirectory>

The directory where the generated mainModule file will be put.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.outputDirectory}/META-INF/gwt

<skipModuleMetadata>

A flag to disable generation of the mainModule.
  • Type: boolean
  • Required: No
  • Default: false