[CONJ-748] OSGI Manifest entry Import-Package: * is invalid. Created: 2019-12-02  Updated: 2020-09-07  Resolved: 2020-09-07

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Bug Priority: Minor
Reporter: Paul Stanley Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to CONJ-778 Missing import org.osgi.service.jdbc ... Closed

 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



 Comments   
Comment by Diego Dupin [ 2020-09-07 ]

closing, since correction has been done in 2.5.3 and partially with CONJ-778

Generated at Thu Feb 08 03:18:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.