Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2181

jpa feature can't be installed "out of the box"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • karaf
    • None

    Description

      Installing jpa feature raises:

      Error executing command: Could not start bundle mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/1.0.0 in feature(s) jpa-1.0.1: Uses constraint violation. Unable to resolve bundle revision org.apache.aries.jpa.blueprint.aries [86.0] because it is exposed to package 'org.apache.aries.util.nls' from bundle revisions org.apache.aries.util [84.0] and org.apache.aries.util [7.0] via two dependency chains.

      Chain 1:
      org.apache.aries.jpa.blueprint.aries [86.0]
      import: (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0)))

      export: osgi.wiring.package=org.apache.aries.util.nls
      org.apache.aries.util [84.0]

      Chain 2:
      org.apache.aries.jpa.blueprint.aries [86.0]
      import: (&(osgi.wiring.package=org.apache.aries.blueprint)(version>=1.0.0)(!(version>=2.0.0)))

      export: osgi.wiring.package=org.apache.aries.blueprint; uses:=org.apache.aries.proxy
      org.apache.aries.blueprint.core [20.0]
      import: (&(osgi.wiring.package=org.apache.aries.proxy)(version>=1.0.0)(!(version>=1.1.0)))

      export: osgi.wiring.package=org.apache.aries.proxy; uses:=org.apache.aries.util.nls
      org.apache.aries.proxy.api [36.0]
      import: (&(osgi.wiring.package=org.apache.aries.util.nls)(version>=1.0.0)(!(version>=2.0.0)))

      export: osgi.wiring.package=org.apache.aries.util.nls
      org.apache.aries.util [7.0]

      It's due to some bundles dependencies which are not required (like blueprint or aries util).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: