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

ASF subversion and git services commented on KARAF-7950:
--------------------------------------------------------

Commit e62f7cb4c4001421ad6128e731622b202feed88e in karaf's branch 
refs/heads/main from Robert Varga
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=e62f7cb4c4 ]

[KARAF-7950] Use modular OSGi dependencies

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.

Signed-off-by: Robert Varga <[email protected]>


> 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: Jean-Baptiste Onofré
>            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