Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
cellar-2.2.6, cellar-2.3.1
-
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.