Full name:
net.ltgt.gwt.maven:gwt-maven-plugin:1.0.1:generate-module
Description:
<inherits/>
with a module template.
When no module template exist, the behavior is identical to using an empty file.
META-INF/gwt/mainModule
files from the project
dependencies (not transitive) are used to generate
<inherits/>
directives. Those directives are
inserted at the very beginning of the generated module (notably,
they'll appear before any existing <inherits/>
directive in the module template).
If moduleShortName
is specified (and not empty), it
overwrites any existing rename-to
from the
module template.
Unless the module template contains a source folder (either
<source/>
or <super-source/>
,
those three lines will be inserted at the very end of the generated
module (this is to keep any includes
or
excludes
or specific path
from the module
template):
<source path="client"/>
<source path="shared"/>
<super-source path="super"/>
Attributes:
runtime
.generate-resources
.Name | Type | Since | Description |
---|---|---|---|
<outputDirectory> |
File |
- |
The directory where the GWT module descriptor will be generated. Default value is: ${project.build.outputDirectory} . |
Name | Type | Since | Description |
---|---|---|---|
<generateInheritsFromDependencies> |
boolean |
- |
A flag to enable generation of <inherits/> from
META-INF/gwt/mainModule files in dependencies.Default value is: true . |
<moduleName> |
String |
- |
The module to generate. |
<moduleShortName> |
String |
- |
The short name of the module, used to name the output
.nocache.js file. |
<moduleTemplate> |
File |
- |
Module definition to merge with. Default value is: ${project.basedir}/src/main/module.gwt.xml . |
<skipModule> |
boolean |
- |
A flag to disable generation of the GWT module in favor of a
hand-authored module descriptor. Default value is: false . |
<inherits/>
from
META-INF/gwt/mainModule
files in dependencies.boolean
No
true
java.lang.String
No
.nocache.js
file.java.lang.String
No
java.io.File
No
${project.basedir}/src/main/module.gwt.xml
java.io.File
Yes
${project.build.outputDirectory}
boolean
No
false