I have my own answer.

<dependency>
    <groupId>org.apache.servicemix.specs</groupId>
    <artifactId>org.apache.servicemix.specs.jsr339-api-2.0</artifactId>
    <version>2.4.0</version>
    <scope>provided</scope>
</dependency>



On Tue, Dec 15, 2015 at 12:27 AM, 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)))"]]

Reply via email to