• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

highsource/maven-jaxb2-plugin: The most advanced JAXB2 Maven Plugin for XML Sche ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

highsource/maven-jaxb2-plugin

开源软件地址(OpenSource Url):

https://github.com/highsource/maven-jaxb2-plugin

开源编程语言(OpenSource Language):

Java 91.5%

开源软件介绍(OpenSource 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).

Documentation

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
kubesphere/devops-maven-sample发布时间:2022-08-16
下一篇:
khmarbaise/maven-training: Maven Training发布时间:2022-08-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap