Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
maven-bundle-plugin-2.3.6
-
None
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.