Freeman, it's not just my bundle. I've filed a JIRA.

com.basistech:cxf-async-jaxrs-example-features:bundle:0.0.1-SNAPSHOT
[INFO] +- org.apache.cxf:cxf-rt-frontend-jaxrs:jar:3.1.4:provided
[INFO] |  +- org.apache.cxf:cxf-core:jar:3.1.4:provided
[INFO] |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.0.5:provided
[INFO] |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.0.1:provided
[INFO] |  |  \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1:provided
[INFO] |  +- javax.ws.rs:javax.ws.rs-api:jar:2.0.1:provided
[INFO] |  +- javax.annotation:javax.annotation-api:jar:1.2:provided
[INFO] |  \- org.apache.cxf:cxf-rt-transports-http:jar:3.1.4:provided
[INFO] +- 
org.apache.servicemix.specs:org.apache.servicemix.specs.jsr339-api-2.0:jar:2.4.0:provided
[INFO] +- org.apache.cxf:cxf-rt-rs-service-description:jar:3.1.4:provided
[INFO] +- org.osgi:org.osgi.compendium:jar:5.0.0:provided
[INFO] \- org.slf4j:slf4j-api:jar:1.7.5:compile

On Tue, Dec 15, 2015 at 12:52 AM, Freeman Fang <[email protected]> wrote:
> 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)))"]]
>

Reply via email to