Package org.codehaus.mojo.jaxb2.schemageneration
The jaxb2-maven-plugin wraps and adapts the JAXB reference implementation to be useful within the Maven build process.
The schemageneneration package (including subpackages) contains Mojos for generating XSD files from annotated Java classes. It also contains subpackages for post-processing the results of the schemagen tool, to create XSDs with better usability than the XSDs generated by default.
- Author:
- Lennart Jörelid
- See Also:
- The JAXB Reference Implementation
-
Class Summary Class Description AbstractXsdGeneratorMojo Abstract superclass for Mojos that generate XSD files from annotated Java Sources.HelpMojo Display help information on jaxb2-maven-plugin.
Callmvn jaxb2:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.SchemaGenerationMojo Mojo that creates XML schema(s) from compile-scope Java sources or binaries by invoking the JAXB SchemaGenerator.TestSchemaGenerationMojo Mojo that creates XML schema(s) from test-scope Java testSources or binaries by invoking the JAXB SchemaGenerator.XsdGeneratorHelper Utility class holding algorithms used when generating XSD schema.