You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "BJ Hargrave (Jira)" <ji...@apache.org> on 2022/04/18 21:33:00 UTC

[jira] [Commented] (FELIX-6521) Stop exporting org.osgi.service.component package

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

BJ Hargrave commented on FELIX-6521:
------------------------------------

And also `org.osgi.service.component.runtime` and `org.osgi.service.component.runtime.dto`.

{{Export-Package
  org.apache.felix.scr.component         {version=1.1.0, imported-as=[1.1,1.2)}
  org.apache.felix.scr.info              {version=1.0.0, imported-as=[1.0,1.1)}
  org.osgi.service.component             {version=1.5, imported-as=[1.5,1.6)}
  org.osgi.service.component.runtime     {version=1.5, imported-as=[1.5,1.6)}
  org.osgi.service.component.runtime.dto {version=1.5, imported-as=[1.5,1.6)}
}}

> Stop exporting org.osgi.service.component package
> -------------------------------------------------
>
>                 Key: FELIX-6521
>                 URL: https://issues.apache.org/jira/browse/FELIX-6521
>             Project: Felix
>          Issue Type: Improvement
>          Components: Declarative Services (SCR)
>            Reporter: Tom Watson
>            Priority: Major
>
> I would like to stop exporting the org.osgi.service.component packages from the SCR bundle and instead only import them.  This is to make the implementation more predictable when installed along side the OSGi specification API bundle with GAV org.osgi:org.osgi.service.component:1.5.0 which only exports and does not import this package.  This will reduce the confusion and possible issues with multiple exporters of that package.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)