D.1. The Maven Bundle Plug-In
The Red Hat JBoss Fuse OSGi tooling uses the Maven bundle plug-in
from Apache Felix. The bundle plug-in is based on the bnd
tool from Peter Kriens. It automates the construction of OSGi bundle manifests by introspecting the contents of the classes being packaged in the bundle. Using the knowledge of the classes contained in the bundle, the plug-in can calculate the proper values to populate the Import-Packages
and the Export-Package
properties in the bundle manifest. The plug-in also has default values that are used for other required properties in the bundle manifest.