Hello,
I want to create a feature, that contains a jar (third party one).
The manifest of that bundle contains:
Require-Bundle: system.bundle

If I want to install the kar / feature that contains that bundle I get the
following message:

Error executing command: Unable to resolve root: missing requirement [root]
osgi.identity; osgi.identity=karaf-oh2-feature; type=karaf.feature;
version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]";
filter:="(&(osgi.identity=karaf-oh2-feature)(type=karaf.feature)(version>=1.0.0.SNAPSHOT)(version<=1.0.0.SNAPSHOT))"
[caused by: Unable to resolve karaf-oh2-feature/1.0.0.SNAPSHOT: missing
requirement [karaf-oh2-feature/1.0.0.SNAPSHOT] osgi.identity;
osgi.identity=javax.activation; type=osgi.bundle;
version="[1.1.0.v201211130549,1.1.0.v201211130549]"; resolution:=mandatory
[caused by: Unable to resolve javax.activation/1.1.0.v201211130549: missing
requirement [javax.activation/1.1.0.v201211130549] osgi.wiring.bundle;
osgi.wiring.bundle=system.bundle;
filter:="(osgi.wiring.bundle=system.bundle)"]]

I can install that bundle using "bundle:install".
If I retry to install the feature, I can install it now.

Did I something wrong or is this a bug in the feature resolver?
I am using Equinox as configured framework.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/4-0-0-M2-feature-install-system-bundle-tp4040561.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to