Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The OSGI Manifest entry of asterisk '*' is not a valid value in the Import-Package declaration. The presence of this value is confusing our package analysers and causing them to reject deployment of the file.
Normally when building an OSGI compatible jar file, the packaging method is set to "bundle" and the maven-bundle-plugin is used to construct the jar file. In such scenarios the * in the Import-Package configuration is replaced with a list of required packages.
If required the DynamicImport-Package header can be used to include wildcard package declarations. (e.g. DynamicImport-Package: * )
Please can you either:
1. Remove the asterisk from the Import-Package declaration, and add the "DynamicImport-Package: *" declaration if required.
2. Or change the packaging method to bundle and include the maven-bundle-plugin into the build process.
Thanks
Attachments
Issue Links
- relates to
-
CONJ-778 Missing import org.osgi.service.jdbc in Import-Package clause of the OSGi manifest
- Closed