[
https://issues.apache.org/jira/browse/FELIX-6521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17523904#comment-17523904
]
BJ Hargrave edited comment on FELIX-6521 at 4/18/22 9:32 PM:
-------------------------------------------------------------
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)}
was (Author: bjhargrave):
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)