• Stars
    star
    425
  • Rank 102,094 (Top 3 %)
  • Language
    Java
  • License
    Other
  • Created over 10 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The most advanced JAXB2 Maven Plugin for XML Schema compilation.

JAXB Maven Plugin

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

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.jaxb</groupId>
        <artifactId>jaxb-maven-plugin</artifactId>
        <version>2.0.0</version>
        <executions>
          <execution>
            <goals>
              <goal>generate</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  ...
</project>

JAXB Versions

The current version 2.X of this plugin supports only JAXB 2.3.

If you need an older JAXB version, you can use one of the following variants, which are no more supported :

  • org.jvnet.jaxb2.maven2:maven-jaxb20-plugin:0.15.2 - JAXB 2.0.
  • org.jvnet.jaxb2.maven2:maven-jaxb21-plugin:0.15.2 - JAXB 2.1.
  • org.jvnet.jaxb2.maven2:maven-jaxb22-plugin:0.15.1 - JAXB 2.2.

Java versions

Supported Java versions are 8, and higher.

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.jaxb:jaxb-maven-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 JAXB Maven plugin by Sun or Oracle.

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

Related

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.

More Repositories

1

jsonix

Powerful XML<->JSON JavaScript mapping library.
JavaScript
345
star
2

jsonix-schema-compiler

Compiles XML Schemas into XML<->JSON mappings for Jsonix.
Java
126
star
3

jaxb2-basics

Useful plugins and tools for JAXB2.
Java
108
star
4

ogc-schemas

XML<->Java and XML<->JS for OGC XSDs.
JavaScript
79
star
5

jaxb2-annotate-plugin

Add arbitrary annotations to JAXB classes.
Java
72
star
6

confluence-to-markdown-converter

Converts the Confluence storage format to Markdown format.
HTML
70
star
7

bahndata

Links auf die verfügbare Deutsche Bahn Daten
44
star
8

verbundkarte

Karte der Verkehrs- und Tarifverbünde in Deutschland
Batchfile
40
star
9

hyperjaxb3

Hyperjaxb3 provides relational persistence for JAXB objects
Java
34
star
10

bitcoin-a-day

Buy €X worth of Bitcoin a day using a cloud-scheduled task
Shell
27
star
11

db-fahrplan-api

Deutsche Bahn Fahrplan API
Java
14
star
12

w3c-schemas

XML<->Java (JAXB) and XML<->JS (Jsonix) bindings for W3C XML Schemas.
JavaScript
14
star
13

db-heartbeat

DB Heartbeat
JavaScript
13
star
14

raspberry-pi-adsb

Cheap and simple ADS-B base station for OpenSky Network
Shell
9
star
15

tenra

Tenra converts the railway network published by DB Netz in INSPIRE format into GeoJSON
Java
8
star
16

javascript-codemodel

Java
7
star
17

delays-api

API to find out train delays of the Deutsche Bahn.
Java
5
star
18

storyteller-maven-plugin

Java
5
star
19

camel-google-cloud-messaging

GCM Component for Apache Camel
Java
5
star
20

hvv-stops

Retrieves HVV stops as GTFS-compatible CSV
JavaScript
3
star
21

declension-dataset

Declined forms of German substantives
JavaScript
3
star
22

roads-to

Public transport "Roads to Rome"
Java
3
star
23

maven-jaxb2-plugin-support

Support project for maven-jaxb2-plugin
Java
3
star
24

postgis-verwaltungsgebiete

Scripts to setup a Postgis database with administrative areas of Germany
Batchfile
3
star
25

Germany-The-Beautiful-Travel-Country-1935-vs-1936

CSS
2
star
26

verwaltungsgebiete-bounding-boxes

Export bounding boxes of German administrative areas as CSV
Batchfile
2
star
27

aufzugswaechter

Java
2
star
28

annox

Parse Java annotations from text or XML resources.
Java
2
star
29

stop.direct

Shows departure board of the closes stop in Germany
Java
2
star
30

rail2ski

JavaScript
2
star
31

hotelroute

Find hotels with the best public transport connection to your destination
Java
2
star
32

iris-tts-rest

2
star
33

bahnhof.direct

Java
1
star
34

inspire-schemas

Batchfile
1
star
35

zugradar-scraper

Zugradar Scraper
Java
1
star
36

declension-alexa-skill-lambda

Alexa Declension Skill - Lambda
JavaScript
1
star
37

drunken-coder

What do we do with a drunken coder?
1
star
38

Mini_IndoorGMLFactory

Java
1
star
39

unece-maps

UNECE Maps
Batchfile
1
star
40

lombok-test

Trying to figure out a Lombok under Maven error
Java
1
star
41

exjc

Extended XJC
1
star
42

aufzugswaechter-android-app

Android App for the Aufzugswaechter
Java
1
star
43

russian-railways-1867

Map of Russian Railways as of 1867
CSS
1
star
44

db-elevator-api-client

Java Client for DB S&S Elevators and Escalators API
Batchfile
1
star
45

reisezentren

1
star
46

lhapi-client

Java Client for LH API
Java
1
star
47

streckenkarte

Streckenkarten des Fernverkehrs als Online-Karten
Batchfile
1
star
48

lhapi-specification

LH Public API OpenAPI Specification
1
star
49

jsonix-support

Jsonix Public Support Project
JavaScript
1
star
50

hafas-export-stops-by-coordinates

Exports stops from HAFAS by bounding box coordinates
JavaScript
1
star