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

ASF GitHub Bot commented on KARAF-7950:
---------------------------------------

jbonofre commented on code in PR #1937:
URL: https://github.com/apache/karaf/pull/1937#discussion_r2059892684


##########
config/command/pom.xml:
##########
@@ -53,18 +53,15 @@
     <dependencies>
         <dependency>
             <groupId>org.osgi</groupId>
-            <artifactId>osgi.core</artifactId>
-            <scope>provided</scope>

Review Comment:
   @rovarga ok, the bom already defines `provided` by default. Got it. Thanks.





> 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)

Reply via email to