SpringSource Bundlor Maven Plugin

A Maven plugin for auto-generation of OSGi manifests using the SpringSource Bundlor utility.

Goals Overview

The following goals are available. See here for full details.

  • manifest - generate a manifest from a jar file (bundle). By default uses the project's own jar artifact and a template at template.mf . Because of the way the underlying Bundlor tool works, if there is a MANIFEST.MF already in the jar file, this will be merged with the generated contents (sometimes not what you want if it contains obsolete imports for instance).
  • transform - generate a manifest and replace it in the jar file to create an OSGi bundle. Uses the same template as the manifest goal, but does not merge with an existing MANIFEST.MF .

Usage

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

Examples

To provide you with better understanding of some usages of the Bundlor Plugin, you can take a look into the following examples: