JiBX - jibx:bind

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

## jibx:bind

Full name:

org.jibx:maven-jibx-plugin:1.2.3-SNAPSHOT:bind

Description:

Runs the JiBX binding compiler.

Attributes:

- Requires a Maven 2.0 project to be executed.
- Requires dependency resolution of artifacts in scope: `compile`.
- Binds by default to the lifecycle phase: `process-classes`.

### Required Parameters

Name | Type | Since | Description
--- | --- | --- | ---
directory | `String` | `-` | The directory which contains binding files. Default value is: `src/main/config`.
load | `boolean` | `-` | Control flag for test loading generated/modified classes. Default value is: `false`.
multimodule | `boolean` | `-` | Control flag multi-module mode. Default value is: `false`.
validate | `boolean` | `-` | Control flag for test loading generated/modified classes. Default value is: `true`.
verbose | `boolean` | `-` | Control flag for verbose processing reports. Default value is: `false`.
verify | `boolean` | `-` | Control flag for verifying generated/modified classes with BCEL. Default value is: `false`.

### Optional Parameters

Name | Type | Since | Description
--- | --- | --- | ---
excludes | `ArrayList` | `-` | Exclude pattern for binding files.
includes | `ArrayList` | `-` | Include pattern for binding files. Note: Uses the standard filter format described in the plexus DirectoryScanner. Defaults value is: binding.xml.
modules | `HashSet` | `-` | A list of modules to search for binding files in the format: groupID:artifactID

### Parameter Details

directory:

The directory which contains binding files.

- Type: `java.lang.String`
- Required: `Yes`
- Expression: `${directory}`
- Default: `src/main/config`

excludes:

Exclude pattern for binding files.

- Type: `java.util.ArrayList`
- Required: `No`
- Expression: `${excludes}`

includes:

Include pattern for binding files.
Note: Uses the standard filter format described in the plexus DirectoryScanner.
Defaults value is: binding.xml.

- Type: `java.util.ArrayList`
- Required: `No`
- Expression: `${includes}`

load:

Control flag for test loading generated/modified classes.

- Type: `boolean`
- Required: `Yes`
- Expression: `${load}`
- Default: `false`

modules:

A list of modules to search for binding files in the format: groupID:artifactID

- Type: `java.util.HashSet`
- Required: `No`
- Expression: `${modules}`

multimodule:

Control flag multi-module mode.

- Type: `boolean`
- Required: `Yes`
- Expression: `${multi-module}`
- Default: `false`

validate:

Control flag for test loading generated/modified classes.

- Type: `boolean`
- Required: `Yes`
- Expression: `${validate}`
- Default: `true`

verbose:

Control flag for verbose processing reports.

- Type: `boolean`
- Required: `Yes`
- Expression: `${verbose}`
- Default: `false`

verify:

Control flag for verifying generated/modified classes with BCEL.

- Type: `boolean`
- Required: `Yes`
- Expression: `${verify}`
- Default: `false`