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

Unable to install cellar when features' OBR support is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • cellar-2.2.6, cellar-2.3.1
    • cellar-2.2.7, cellar-2.3.2
    • cellar
    • None

    Description

      When installing the cellar features on a system that has Karaf Features' OBR support installed, you get

      Error executing command: Can not resolve feature:
      Unsatisfied requirement(s):
      ---------------------------
         package:(&(package=com.hazelcast.config))
            Apache Karaf :: Cellar :: Hazelcast
         bundle:(&(symbolicname=hazelcast))
            Apache Karaf :: Cellar :: Hazelcast
         package:(&(package=com.hazelcast.core))
            Apache Karaf :: Cellar :: Hazelcast
      

      This is because the Hazelcast bundle never gets installed: it's marked with dependency=true and the Features OBR resolver only works per feature, so with no other bundles in that feature, there appears to be no need for this bundle.

      The solution would be to remove the dependency attribute alltogether: for the Hazelcast feature, this bundle should not be considered a dependency.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: