You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/04/24 22:03:00 UTC

[jira] [Commented] (KARAF-7950) Use modular OSGi dependencies

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

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

rovarga opened a new pull request, #1937:
URL: https://github.com/apache/karaf/pull/1937

   osgi-core is non-modular, i.e. it has no Automatic-Module-Name declaration.
   
   This patches switches to using org.osgi.{dto,framework,resource,...}, which are provide this stability.




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