JiBX -

maven-jibx-plugin

##### Main Project

- JiBX

##### Overview

- Introduction
- Goals
- Usage

##### Configuration

- Execution Modes

##### Examples

- Basic Binding Compilation
- Advanced Binding Compilation
- Generate Java Sources from Schemas
- Generate Modular Code from Schemas
- Test Case Usage
- XML Document comparison

##### Project Documentation

- Project Information
- Project Reports

## Maven JiBX Plugin

A plugin for Maven 2 to run the JiBX binding compiler, or generate Java sources from XSD schemas.

### Goals Overview

The JiBX Maven Plugin has these goals:

- jibx:bind Runs the JiBX binding compiler.
- jibx:schema-codegen Generates Java sources from XSD schemas.
- jibx:jibx2wsdl Generates WSDL files from Java sources.
- jibx:test-bind Runs the JiBX binding compiler on the test classes.
- jibx:test-schema-codegen Generates Java test sources from XSD schemas.
- jibx:test-jibx2wsdl Generates WSDL files from Java test sources.
- jibx:document-compare Compares two schemas or roundtrips a schema through a JiBX class and compares the results.

### Usage

General instructions on how to use the Maven JiBX Plugin can be found on the usage page. Some more specific use cases are described in the examples given below.

### Examples

The following examples show how to use the Plugin in more advanced usecases:

- Basic Binding Compilation
- Advanced Binding Compilation
- Generate Java Sources from Schemas
- Generate Modular Code from Schemas
- JiBX code generation and binding in test cases
- JiBX XML document comparison in test cases
- JiBX to WSDL examples