Add explicit import statements to OSGi manifest

Description

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

1 2 3 <Import-Package> *;resolution:=optional </Import-Package>

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:

1 2 3 4 <Import-Package> !com.sun.*, * </Import-Package>

Steps to reproduce

None

Status

Assignee

Unassigned

Reporter

Basil Brunner

Criticality

None

Tags (folksonomy)

Components

Priority

Major
Configure