[ 
https://issues.apache.org/jira/browse/FELIX-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114377#comment-13114377
 ] 

Stuart McCulloch commented on FELIX-3133:
-----------------------------------------

Can you add an example/test project?  The maven-bundle-plugin will add an 
import for any package which is not exported or listed in Private-Package, so 
if it is generating an import then that suggests the package has not been 
included in the bundle. Also note that OSGi allows importing of activators, for 
cases when they're not in the bundle.

> Maven bundle plugin adds Import-Package for the Bundle-Activator
> ----------------------------------------------------------------
>
>                 Key: FELIX-3133
>                 URL: https://issues.apache.org/jira/browse/FELIX-3133
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven Bundle Plugin
>    Affects Versions: maven-bundle-plugin-2.3.4, maven-bundle-plugin-2.3.5
>            Reporter: Lucas Galfaso
>            Priority: Minor
>
> When there is a <Bundle-Activator> that references a class that is not 
> exported, the generated manifest contains an Import-Package to the package 
> that this activator is at. There is no requirement to export the package that 
> exports the activator, so this behavior leads to the fact that generated 
> package will never be resolved.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to