[
https://issues.apache.org/jira/browse/FELIX-3300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart McCulloch closed FELIX-3300.
-----------------------------------
Resolution: Fixed
Fix Version/s: maven-bundle-plugin-2.3.7
Assignee: Stuart McCulloch
Fixed in r1243107
> 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
> Assignee: Stuart McCulloch
> Priority: Minor
> Fix For: maven-bundle-plugin-2.3.7
>
> Attachments: FELIX-3300.patch
>
>
> 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