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

OSGI Manifest entry Import-Package: * is invalid.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 2.5.3
    • Other
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.