xsd:xsd

Full name:

npanday.plugin:maven-xsd-plugin:1.2:xsd

Description:

Generates XSD class.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: process-sources.

Required Parameters

Name Type Since Description
outputDirectory String - The directory to place the generated binding classes.
Default value is: ${project.build.directory}${file.separator}build-sources.
project MavenProject - The maven project.
xsdFile String - (no description)

Optional Parameters

Name Type Since Description
elements ArrayList - Specifies the element(s) in the schema to generate code for. Not supported for MONO.
enableDataBinding boolean - Generates the INotifyPropertyChanged interface to enable data binding. Not supported for MONO.
Default value is: false.
fields boolean - Generates fields instead of properties. Not supported for MONO.
Default value is: false.
frameworkVersion String - (no description)
Default value is: 2.0.50727.
generate String - Generate either classes or dataset.
Default value is: classes.
ignoreUnusedOptions boolean - Tells the xsd plugin to ignore options not appropriate to the xsd vendor.
Default value is: false.
language String - Programming language to use.
Default value is: CS.
namespace String - Runtime namespace for the generated types.
Default value is: ${project.artifactId}.
netHome File - The home directory of your .NET SDK.
order boolean - Generates explicit order identifiers on all particle members. Not supported for MONO.
Default value is: false.
profile String - The profile that the executable should use.
Default value is: XSD:SCHEMA.
vendor String - The Vendor for the executable. Supports MONO and MICROSOFT.

Parameter Details

elements:

Specifies the element(s) in the schema to generate code for. Not supported for MONO.
  • Type: java.util.ArrayList
  • Required: No
  • Expression: ${elements}

enableDataBinding:

Generates the INotifyPropertyChanged interface to enable data binding. Not supported for MONO.
  • Type: boolean
  • Required: No
  • Expression: ${enableDataBinding}
  • Default: false

fields:

Generates fields instead of properties. Not supported for MONO.
  • Type: boolean
  • Required: No
  • Expression: ${fields}
  • Default: false

frameworkVersion:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${frameworkVersion}
  • Default: 2.0.50727

generate:

Generate either classes or dataset.
  • Type: java.lang.String
  • Required: No
  • Expression: ${generate}
  • Default: classes

ignoreUnusedOptions:

Tells the xsd plugin to ignore options not appropriate to the xsd vendor.
  • Type: boolean
  • Required: No
  • Default: false

language:

Programming language to use.
  • Type: java.lang.String
  • Required: No
  • Expression: ${language}
  • Default: CS

namespace:

Runtime namespace for the generated types.
  • Type: java.lang.String
  • Required: No
  • Expression: ${namespace}
  • Default: ${project.artifactId}

netHome:

The home directory of your .NET SDK.
  • Type: java.io.File
  • Required: No
  • Expression: ${netHome}

order:

Generates explicit order identifiers on all particle members. Not supported for MONO.
  • Type: boolean
  • Required: No
  • Expression: ${order}
  • Default: false

outputDirectory:

The directory to place the generated binding classes.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${outputDirectory}
  • Default: ${project.build.directory}${file.separator}build-sources

profile:

The profile that the executable should use.
  • Type: java.lang.String
  • Required: No
  • Expression: ${profile}
  • Default: XSD:SCHEMA

project:

The maven project.
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${project}

vendor:

The Vendor for the executable. Supports MONO and MICROSOFT.
  • Type: java.lang.String
  • Required: No
  • Expression: ${vendor}

xsdFile:

(no description)
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${xsdFile}