Skip to content

The most advanced JAXB2 Maven Plugin for XML Schema compilation.

License

Notifications You must be signed in to change notification settings

UnasZole/maven-jaxb2-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JAXB2 Maven Plugin

Welcome to the org.jvnet.jaxb2.maven2:maven-jaxb2-plugin, the most advanced and feature-full Maven plugin for XML Schema compilation.

This Maven plugin wraps and enhances the JAXB Schema Compiler (XJC) and allows compiling XML Schemas (as well as WSDL, DTDs, RELAX NG) into Java classes in Maven builds.

If you are interested in the Mojohaus JAXB2 Maven Plugin (org.codehaus.mojo:jaxb2-maven-plugin), please follow this link to the corresponding website.

Quick start

  • Put your schemas (*.xsd) and bindings (*.xjb) into the src/main/resources folder.
  • Add the plugin to your pom.xml:
<project ...>
	...
	<build>
		<plugins>
			...
			<plugin>
				<groupId>org.jvnet.jaxb2.maven2</groupId>
				<artifactId>maven-jaxb2-plugin</artifactId>
				<version>0.13.1</version>
				<executions>
					<execution>
						<goals>
							<goal>generate</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			...
		</plugins>
	</build>
	...
</project>

Please refer to the wiki for the full documentation.

Disclaimer

This project is not developed, supported or in any other way affiliated with Apache. The org.jvnet.jaxb2.maven2:maven-jaxb2-plugin is not an Apache product (and does not pretend to be one), it is a completely independent development.

This project is also not developed by or affiliated with Oracle or Sun. Even if it is featured on https://jaxb.java.net/ pages,

This plugin is in no way official JAXB2 Maven plugin by Oracle.

This is a completely indepentent development. I am not an Oracle employee.

About

The most advanced JAXB2 Maven Plugin for XML Schema compilation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 90.5%
  • XS 4.6%
  • Batchfile 2.7%
  • HTML 2.0%
  • XSLT 0.2%