[ https://issues.apache.org/jira/browse/FELIX-6521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526523#comment-17526523 ]
BJ Hargrave commented on FELIX-6521: ------------------------------------ Bnd as a tool has to handle people who do not always follow best practices :) So Bnd will do substitution by default since it is generally better than not doing it when people have copies of 3rd party API packages. For API in the bundles of some application, the developer has more knowledge and can control how to best construct the set of bundles. > Stop exporting org.osgi.service.component packages > -------------------------------------------------- > > 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.7#820007)