You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/20 11:59:00 UTC

[jira] [Comment Edited] (CAMEL-18531) camel-karaf - Have karaf expose java 11 java packages

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

Claus Ibsen edited comment on CAMEL-18531 at 9/20/22 11:58 AM:
---------------------------------------------------------------

Karaf 4.3.7 seems to only export

java.net                                               │ 0.0.0       │ 0  │ org.apache.felix.framework



was (Author: davsclaus):
Karaf 4.3.7 seems to only export

javax.net.ssl                                          │ 0.0.0       │ 0  │ org.apache.felix.framework
javax.net                                              │ 0.0.0       │ 0  │ org.apache.felix.framework

> camel-karaf - Have karaf expose java 11 java packages
> -----------------------------------------------------
>
>                 Key: CAMEL-18531
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18531
>             Project: Camel
>          Issue Type: Dependency upgrade
>          Components: camel-karaf, camel-telegram
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 3.20.0
>
>
> The camel-telegram feature is disabled as it requires java 11, with the java.net.http package that karaf cannot find.
> Running on JDK11 JVM then karaf still does not expose that package. I cant remember how to configure karaf for that.
> [ERROR] 	Feature resolution failed for [camel-telegram/3.19.0.SNAPSHOT]
> [ERROR] Message: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=camel-telegram; type=karaf.feature; version=3.19.0.SNAPSHOT; filter:="(&(osgi.identity=camel-telegram)(type=karaf.feature)(version>=3.19.0.SNAPSHOT))" [caused by: Unable to resolve camel-telegram/3.19.0.SNAPSHOT: missing requirement [camel-telegram/3.19.0.SNAPSHOT] osgi.identity; osgi.identity=org.apache.camel.camel-telegram; type=osgi.bundle; version="[3.19.0.SNAPSHOT,3.19.0.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve org.apache.camel.camel-telegram/3.19.0.SNAPSHOT: missing requirement [org.apache.camel.camel-telegram/3.19.0.SNAPSHOT] osgi.wiring.package; filter:="(osgi.wiring.package=java.net.http)"]]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)