modello:xsd

Full name:

org.codehaus.modello:modello-maven-plugin:1.9.2-SNAPSHOT:xsd

Description:

Creates an XML schema 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 XML Schema.
Default value is: ${project.build.directory}/generated-site/resources/xsd.
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
packagedVersions List - Additional historical versions to generate, each being packaged with the version regardless of the packageWithVersion setting.
xsdFileName String 1.0-alpha-21 (no description)

Parameter Details

models:

List of relative paths to mdo files containing the models.
  • Type: java.lang.String[]
  • Required: Yes

outputDirectory:

The output directory of the generated XML Schema.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/generated-site/resources/xsd

packageWithVersion:

True if the generated package names should include the version.
  • Type: boolean
  • Required: Yes
  • User Property: packageWithVersion
  • Default: false

packagedVersions:

Additional historical versions to generate, each being packaged with the version regardless of the packageWithVersion setting.
  • Type: java.util.List
  • Required: No

version:

The version of the model we will be working on.
  • Type: java.lang.String
  • Required: Yes
  • User Property: version

xsdFileName:

(no description)
  • Type: java.lang.String
  • Since: 1.0-alpha-21
  • Required: No