for Karaf 4, blueprint isn't required to be used for shell, therefore it's
no requirement and works right away.
Take a look here:
https://github.com/ANierbeck/Karaf-Vertx/blob/master/Vertx-Karaf/pom.xml#L177-L178
This project also has custom shell commands, and doesn't need blueprint.

regards, Achim

2016-09-05 17:07 GMT+02:00 Benson Margulies <[email protected]>:

> Achim, Yes, I understand the principle. What I don't understand is how
> anyone uses 'minimal'. Minimal includes shell, and shell requires
> blueprint, and blueprint isn't 'minimal'. Or is the idea that no one
> should try to use minimal, it's just a building block for standard and
> others?
>
>
> On Mon, Sep 5, 2016 at 11:05 AM, Achim Nierbeck <[email protected]>
> wrote:
> > yep it's minimal so only the minimal required bundles are there.
> > Blueprint is part of standard, as that isn't minimal anymore ...
> >
> > regards, Achiim
> >
> >
> > 2016-09-05 16:45 GMT+02:00 Benson Margulies <[email protected]>:
> >>
> >> Folks,
> >>
> >> When I try to run an assembly that lists 'minimal' as a boot feature,
> >> I get this error, indicating that (If I read it correctly) the shell
> >> requires blueprint. Is this intended? I can switch to 'standard'
> >> easily enough.
> >>
> >>
> >> 2016-09-05 10:42:36,560 | ERROR | pool-6-thread-1  |
> >> BootFeaturesInstaller            | 6 - org.apache.karaf.features.core
> >> - 4.0.6 | Error installing boot features
> >> org.osgi.service.resolver.ResolutionException: Unable to resolve root:
> >> missing requirement [root] osgi.identity;
> >> osgi.identity=rosapi-front-end-service; type=karaf.feature;
> >> version="[1.2.6.SNAPSHOT,1.2.6.SNAPSHOT]";
> >>
> >> filter:="(&(osgi.identity=rosapi-front-end-service)(
> type=karaf.feature)(version>=1.2.6.SNAPSHOT)(version<=1.2.6.SNAPSHOT))"
> >> [caused by: Unable to resolve rosapi-front-end-service/1.2.6.SNAPSHOT:
> >> missing requirement [rosapi-front-end-service/1.2.6.SNAPSHOT]
> >> osgi.identity; osgi.identity=org.apache.karaf.shell.console;
> >> type=osgi.fragment; version="[4.0.6,4.0.6]"; resolution:=mandatory
> >> [caused by: Unable to resolve org.apache.karaf.shell.console/4.0.6:
> >> missing requirement [org.apache.karaf.shell.console/4.0.6]
> >> osgi.wiring.package;
> >>
> >> filter:="(&(osgi.wiring.package=org.apache.aries.
> blueprint)(version>=1.5.0)(!(version>=2.0.0)))"]]
> >> at org.apache.felix.resolver.ResolutionError.toException(Resolutio
> >
> >
> >
> >
> > --
> >
> > Apache Member
> > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
> &
> > Project Lead
> > blog <http://notizblog.nierbeck.de/>
> > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> >
> > Software Architect / Project Manager / Scrum Master
> >
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to