jaxb2:schemagen

Full name:

org.codehaus.mojo:jaxb2-maven-plugin:1.3.1:schemagen

Description:

Creates XML Schema file(s) for sources.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • Since version: 1.3.
  • Binds by default to the lifecycle phase: generate-resources.

Required Parameters

Name Type Since Description
outputDirectory File 1.3 The working directory to place processor and javac generated class files.
Default value is: ${project.build.directory}/generated-resources/schemagen.

Optional Parameters

Name Type Since Description
excludes Set 1.3 A list of exclusion filters for the generator.
includes Set 1.3 A list of inclusion filters for the generator.
staleMillis int 1.3 The granularity in milliseconds of the last modification date for testing whether a source needs recompilation.
Default value is: 0.

Parameter Details

excludes:

A list of exclusion filters for the generator.
  • Type: java.util.Set
  • Since: 1.3
  • Required: No

includes:

A list of inclusion filters for the generator.
  • Type: java.util.Set
  • Since: 1.3
  • Required: No

outputDirectory:

The working directory to place processor and javac generated class files.
  • Type: java.io.File
  • Since: 1.3
  • Required: Yes
  • Default: ${project.build.directory}/generated-resources/schemagen

staleMillis:

The granularity in milliseconds of the last modification date for testing whether a source needs recompilation.
  • Type: int
  • Since: 1.3
  • Required: No
  • Expression: ${lastModGranularityMs}
  • Default: 0