[
https://issues.apache.org/jira/browse/KARAF-7950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17947276#comment-17947276
]
ASF GitHub Bot commented on KARAF-7950:
---------------------------------------
rovarga commented on code in PR #1937:
URL: https://github.com/apache/karaf/pull/1937#discussion_r2059880223
##########
config/command/pom.xml:
##########
@@ -53,18 +53,15 @@
<dependencies>
<dependency>
<groupId>org.osgi</groupId>
- <artifactId>osgi.core</artifactId>
- <scope>provided</scope>
Review Comment:
The declaration in bom specifies scope=provided, so all users get that for
free.
> Use modular OSGi dependencies
> -----------------------------
>
> Key: KARAF-7950
> URL: https://issues.apache.org/jira/browse/KARAF-7950
> Project: Karaf
> Issue Type: Improvement
> Reporter: Robert Varga
> Assignee: Robert Varga
> Priority: Major
>
> As we move past Java 8, we need to look towards JPMS modules. That world is
> not supported by osgi.core/osgi.cmpn/osgi.annotation, but rather a set of
> broken-out bundles, each carrying Automatic-Module-Name. That header is
> critical to downstreams who provide module-info.java, as it provides a stable
> module name for the purposes of 'requires'.
> Convert users of 'osgi.core' using karaf-bom to use its replacements, like
> org.osgi.framework, org.osgi.util.tracker, etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)