Hi Benson, cxf-specs feature include jsr339-api bundle, but it export package javax.ws.rs version 2.0, not the 2.0.1 from your bundle. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat > On Dec 15, 2015, at 1:27 PM, Benson Margulies <[email protected]> wrote: > > I've worked around this before, but I wonder why I have to. Shouldn't > some CXF feature include the API jar? > > > karaf@root()> feature:install cxf-async-jaxrs-example-features > Error executing command: Unable to resolve root: missing requirement > [root] osgi.identity; osgi.identity=cxf-async-jaxrs-example-features; > type=karaf.feature; version="[0.0.1.SNAPSHOT,0.0.1.SNAPSHOT]"; > filter:="(&(osgi.identity=cxf-async-jaxrs-example-features)(type=karaf.feature)(version>=0.0.1.SNAPSHOT)(version<=0.0.1.SNAPSHOT))" > [caused by: Unable to resolve > cxf-async-jaxrs-example-features/0.0.1.SNAPSHOT: missing requirement > [cxf-async-jaxrs-example-features/0.0.1.SNAPSHOT] osgi.identity; > osgi.identity=com.basistech.cxf-async-jaxrs-example-features; > type=osgi.bundle; > version="[0.0.1.v20151215051132,0.0.1.v20151215051132]"; > resolution:=mandatory [caused by: Unable to resolve > com.basistech.cxf-async-jaxrs-example-features/0.0.1.v20151215051132: > missing requirement > [com.basistech.cxf-async-jaxrs-example-features/0.0.1.v20151215051132] > osgi.wiring.package; > filter:="(&(osgi.wiring.package=javax.ws.rs)(version>=2.0.1)(!(version>=3.0.0)))"]]
