Add explicit import statements to OSGi manifest


Many of the bundles have a statement like this in their maven-bundle-plugin configuration:

The result is that no package is required for a bundle to start. It is recommended to not rely on optional packages. Therefore the configuration should be changed to explicitly import all required packages. Instead of manually listing them, one can still rely on the output of the underlying BND tool and exclude unnecessary packages, example:

Fixed and reviewed




Basil Brunner

Tags (folksonomy)