GithubHelp home page GithubHelp logo

wung / maven-jaxb2-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from highsource/jaxb-tools

0.0 1.0 0.0 1.7 MB

The most advanced JAXB2 Maven Plugin for XML Schema compilation.

License: BSD 2-Clause "Simplified" License

Java 91.54% HTML 1.89% Batchfile 2.07% XS 4.28% XSLT 0.21%

maven-jaxb2-plugin's Introduction

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.14.0</version>
				<executions>
					<execution>
						<goals>
							<goal>generate</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			...
		</plugins>
	</build>
	...
</project>

JAXB Versions

If you need a specific JAXB version, you can explicitly use one of the following variants:

  • org.jvnet.jaxb2.maven2:maven-jaxb20-plugin - JAXB 2.0.
  • org.jvnet.jaxb2.maven2:maven-jaxb21-plugin - JAXB 2.1.
  • org.jvnet.jaxb2.maven2:maven-jaxb22-plugin - JAXB 2.2.
  • org.jvnet.jaxb2.maven2:maven-jaxb23-plugin - JAXB 2.3.
  • org.jvnet.jaxb2.maven2:maven-jaxb2-plugin - "most actual version", at the moment same as org.jvnet.jaxb2.maven2:maven-jaxb23-plugin.

Java versions

Supported Java versions are 1.7, 1.8, 9 (only maven-jaxb2-plugin and maven-jaxb23-plugin).

Java version 1.6 is no longer supported (since version 0.14.0).

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 Sun or Oracle.

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

maven-jaxb2-plugin's People

Contributors

highsource avatar stephan202 avatar alb-i986 avatar wuan avatar arend-von-reinersdorff avatar unaszole avatar pronchakov avatar dawuid avatar jspricke avatar marcphilipp avatar tmarty avatar andrealbinop avatar taavipyry avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.