I try to create a own feature on basis of https://github.com/apache/karaf/tree/master/examples/karaf-command-example. For that i used the maven archetypes and merged them to https://github.com/matthiaw/karaf-command-trial.
Then i try feature:repo-add mvn:org.rogatio.circlead.sunray/circlead-core-features/LATEST/xml feature:install circlead-core-provider This throws following error: Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=circlead-core-provider; type=karaf.feature; version="[0.0.1,0.0.1]"; filter:="(&(osgi.identity=circlead-core-provider)(type=karaf.feature)(version>=0.0.1)(version<=0.0.1))" [caused by: Unable to resolve circlead-core-provider/0.0.1: missing requirement [circlead-core-provider/0.0.1] osgi.identity; osgi.identity=circlead-core-provider; type=osgi.bundle; version="[0.0.1,0.0.1]"; resolution:=mandatory [caused by: Unable to resolve circlead-core-provider/0.0.1: missing requirement [circlead-core-provider/0.0.1] osgi.wiring.package; filter:="(osgi.wiring.package=org.apache.karaf.util.tracker)"]] I see that in the compiled circlead-core-command.jar some karaf.util-classes are missing. I not know why (compared to karaf-command-example) and not know if that occurs the error. Maybe i did something wrong in creating the feature, but i found no other "standalone" example. I Appreciate any hint, because i am trying this since at least 10 hours and did not find a full working example beside the karaf-command-example. Do you have a working example to create a karaf-feature? Do you know what i am doning wrong? Regards, Matthias -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-Dev-f930721.html