You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2015/03/16 05:09:38 UTC
[jira] [Comment Edited] (SM-2478) no Export-Package in jain-sip-api
spec
[ https://issues.apache.org/jira/browse/SM-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362707#comment-14362707 ]
Freeman Fang edited comment on SM-2478 at 3/16/15 4:08 AM:
-----------------------------------------------------------
Get WARNING like
{code}
[WARNING] Bundle org.apache.servicemix.specs:org.apache.servicemix.specs.jain-sip-api-1.2:bundle:2.5-SNAPSHOT : Unused Private-Package instructions, no such package(s) on the class path: [!*]
{code}
And this error start from maven-bundle-plugin 2.4.0.
Previously the Private-Package default value is empty but now it's assumed to be the set of packages in your local Java sources, as for the jain-sip-api spec bundle the local java sources package is empty so that we get the WARNING, and also cause the no Export-Package.
While we can fix this on SMX side for now , I will also raise a JIRA on FELIX side as the maven-bundle-plugin from FELIX should consider this case.
was (Author: ffang):
Get WARNING like
{code}
[WARNING] Bundle org.apache.servicemix.specs:org.apache.servicemix.specs.jain-sip-api-1.2:bundle:2.5-SNAPSHOT : Unused Private-Package instructions, no such package(s) on the class path: [!*]
{code}
And this error start from maven-bundle-plugin 2.4.0.
Previously the Private-Package default value is empty but now it's assumed to be the set of packages in your local Java sources, as for the jain-sip-api spec bundle the local java sources package is empty so that we get the WARNING, and also cause the no Export-Package.
While fix this on SMX side, I will also raise a JIRA on FELIX side.
> no Export-Package in jain-sip-api spec
> --------------------------------------
>
> Key: SM-2478
> URL: https://issues.apache.org/jira/browse/SM-2478
> Project: ServiceMix
> Issue Type: Bug
> Components: specs
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: specs-2.5.0
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)