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

Camel-guice OSGi dependency resolution fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Workaround
    • 2.16.1
    • 2.18.0
    • camel-guice
    • Karaf 3.0.5 / 4.0.3

    • Unknown

    Description

      Camel-guice feature file says it requires com.google.inject/guice/4.0. That bundle do not export com.google.inject.internal.* classes that are required by camel-guice bundle. This leads to the error:
      Unsatisfied requirement(s):
      ---------------------------
      package&(package=com.google.inject.internal)(version>=1.2.0)(!(version>=4.0.0)))

      In version 2.15, camel-guice feature was installing guice from service-mix bundle which was exporting the com.google.inject.internal package.
      It seems that there is no equivalent ServiceMix version for guice-4

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            frouleau Frédérik ROULEAU
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: