Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3300

Avoid warning about superfluous export-package instructions for empty directories

    XMLWordPrintableJSON

Details

    Description

      Using the plugin's default configuration, its manifest goal produces the following warning:

      [INFO] --- maven-bundle-plugin:2.3.6:manifest (default-cli) @ aether-api ---
      [WARNING] Manifest org.eclipse.aether:aether-api:jar:0.9.0-SNAPSHOT : Superfluous export-package instructions: [org, org.eclipse]
      

      Note that the mentioned packages contain neither classes nor other resources.

      Explicitly setting the plugin configuration like

      <configuration>
        <instructions>
          <Export-Package>org.eclipse.aether.*</Export-Package>
        </instructions>
      </configuration>
      

      appears to be an effective way to prevent the warning.

      Attachments

        1. FELIX-3300.patch
          2 kB
          Benjamin Bentmann

        Activity

          People

            mcculls Stuart McCulloch
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: