Avoid warning about superfluous export-package instructions for empty
directories
---------------------------------------------------------------------------------
Key: FELIX-3300
URL: https://issues.apache.org/jira/browse/FELIX-3300
Project: Felix
Issue Type: Improvement
Components: Maven Bundle Plugin
Affects Versions: maven-bundle-plugin-2.3.6
Reporter: Benjamin Bentmann
Priority: Minor
Using the plugin's default configuration, its manifest goal produces the
following warning:
{noformat}
[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]
{noformat}
Note that the mentioned packages contain neither classes nor other resources.
Explicitly setting the plugin configuration like
{code:xml}
<configuration>
<instructions>
<Export-Package>org.eclipse.aether.*</Export-Package>
</instructions>
</configuration>
{code}
appears to be an effective way to prevent the warning.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira