modello:stax-reader
Full name:
org.codehaus.modello:modello-maven-plugin:2.1.0:stax-reader
Description:
Creates an StAX reader from the model.
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-sources
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<models> |
String[] |
- |
List of relative paths to mdo files containing the models. |
<outputDirectory> |
File |
- |
The output directory of the generated Java beans. Default value is: ${project.build.directory}/generated-sources/modello . |
<packageWithVersion> |
boolean |
- |
True if the generated package names should include the version. Default value is: false .User property is: packageWithVersion . |
<version> |
String |
- |
The version of the model we will be working on. User property is: version . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<domAsXpp3> |
boolean |
1.6 |
Generate DOM content as plexus-utils Xpp3Dom objects instead of org.w3c.dom.Element .Default value is: true . |
<encoding> |
String |
1.0-alpha-19 |
The encoding to use when generating Java source files. Default value is: ${project.build.sourceEncoding} . |
<javaSource> |
String |
1.0 |
Generate Java 5 sources, with generic collections. Default value is: ${maven.compiler.source} . |
<packagedVersions> |
List<String> |
- |
Additional historical versions to generate, each being packaged with the version regardless of the packageWithVersion setting. |
Parameter Details
<domAsXpp3>
Generate DOM content as plexus-utils
Xpp3Dom
objects instead of org.w3c.dom.Element
.- Type:
boolean
- Since:
1.6
- Required:
No
- Default:
true
<encoding>
The encoding to use when generating Java source files.
- Type:
java.lang.String
- Since:
1.0-alpha-19
- Required:
No
- Default:
${project.build.sourceEncoding}
<javaSource>
Generate Java 5 sources, with generic collections.
- Type:
java.lang.String
- Since:
1.0
- Required:
No
- Default:
${maven.compiler.source}
<models>
List of relative paths to mdo files containing the models.
- Type:
java.lang.String[]
- Required:
Yes
<outputDirectory>
The output directory of the generated Java beans.
- Type:
java.io.File
- Required:
Yes
- Default:
${project.build.directory}/generated-sources/modello
<packagedVersions>
Additional historical versions to generate, each being packaged with the version regardless of the
packageWithVersion
setting.- Type:
java.util.List<java.lang.String>
- Required:
No
<packageWithVersion>
True if the generated package names should include the version.
- Type:
boolean
- Required:
Yes
- User Property:
packageWithVersion
- Default:
false
<version>
The version of the model we will be working on.
- Type:
java.lang.String
- Required:
Yes
- User Property:
version