Maven Bundle Plugin - bundle:baseline

Maven Bundle Plugin

##### Overview

- Introduction
- Goals
- Wiki
- FAQ
- Release Notes

##### Project Documentation

- Project Information
- Project Reports

## bundle:baseline

Full name:

org.apache.felix:maven-bundle-plugin:2.5.0:baseline

Description:

BND Baseline check between two bundles.

Attributes:

- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version: `2.4.1`.
- Binds by default to the lifecycle phase: `verify`.

### Optional Parameters

Name | Type | Since | Description
--- | --- | --- | ---
failOnError | `boolean` | `2.4.1` | Whether to fail on errors. Default value is: `true`. User property is: `baseline.failOnError`.
failOnWarning | `boolean` | `2.4.1` | Whether to fail on warnings. Default value is: `false`. User property is: `baseline.failOnWarning`.
filters | `String[]` | `2.4.1` | A list of packages filter, if empty the whole bundle will be traversed. Values are specified in OSGi package instructions notation, e.g. `!org.apache.felix.bundleplugin`.
logResults | `boolean` | `2.4.1` | Whether to log the results to the console or not, true by default. Default value is: `true`. User property is: `logResults`.
skip | `boolean` | `2.4.1` | Flag to easily skip execution. Default value is: `false`. User property is: `baseline.skip`.
supportedProjectTypes | `List` | `2.4.1` | Project types which this plugin supports.
xmlOutputFile | `File` | `2.4.1` | An XML output file to render to `${project.build.directory}/baseline.xml`.

### Parameter Details

failOnError:

Whether to fail on errors.

- Type: `boolean`
- Since: `2.4.1`
- Required: `No`
- User Property: `baseline.failOnError`
- Default: `true`

failOnWarning:

Whether to fail on warnings.

- Type: `boolean`
- Since: `2.4.1`
- Required: `No`
- User Property: `baseline.failOnWarning`
- Default: `false`

filters:

A list of packages filter, if empty the whole bundle will be traversed. Values are specified in OSGi package instructions notation, e.g. `!org.apache.felix.bundleplugin`.

- Type: `java.lang.String[]`
- Since: `2.4.1`
- Required: `No`

logResults:

Whether to log the results to the console or not, true by default.

- Type: `boolean`
- Since: `2.4.1`
- Required: `No`
- User Property: `logResults`
- Default: `true`

skip:

Flag to easily skip execution.

- Type: `boolean`
- Since: `2.4.1`
- Required: `No`
- User Property: `baseline.skip`
- Default: `false`

supportedProjectTypes:

Project types which this plugin supports.

- Type: `java.util.List`
- Since: `2.4.1`
- Required: `No`

xmlOutputFile:

An XML output file to render to `${project.build.directory}/baseline.xml`.

- Type: `java.io.File`
- Since: `2.4.1`
- Required: `No`
- Expression: `${project.build.directory}/baseline.xml`