Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-18531

camel-karaf - Have karaf expose java 11 java packages

    XMLWordPrintableJSON

Details

    • Dependency upgrade
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.19.0
    • camel-karaf, camel-telegram
    • None
    • Unknown

    Description

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

      Attachments

        Issue Links

          Activity

            People

              jbonofre Jean-Baptiste Onofré
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: