Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-748

OSGI Manifest entry Import-Package: * is invalid.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.3
    • Component/s: Other
    • Labels:
      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

            Activity

              People

              Assignee:
              diego dupin Diego Dupin
              Reporter:
              pjs Paul Stanley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: