karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Is there a built-in feature that pulls in jax-rs rs-api?
Date Sun, 15 Sep 2019 17:20:07 GMT
By the way, I will review and fix your features for Jackson, I see some
improvements to do.

Regards
JB

On 15/09/2019 17:30, Steinar Bang wrote:
> I'm working on a set of PRs for jackson, to build and attach karaf
> feature repositories on the jackson OSGi bundles:
>  https://github.com/FasterXML/jackson-databind/issues/2434
> 
> I'm currently working on karaf feature support for
> jackson-jaxrs-providers
>  https://github.com/FasterXML/jackson-jaxrs-providers/issues/115
> 
> And I have encountered a chicken-and-egg problem:
>  1. The rs-api dependency in the top POM is made provided with a comment
>     that the runtime is expected to provide
>      https://github.com/FasterXML/jackson-jaxrs-providers/blob/master/pom.xml#L57
>  2. The jackson-jaxrs-base feature (the feature generated from the first
>     module) fails to load because the rs-api isn't present
> 
> I have resolved similar conflicts elsewhere by depending on built-in
> karaf properties, e.g. the "hibernate" and "transaction-api",
> ie. deferred the actual loading of an actual version to be the
> responsibility of the karaf istance the jackson feature is used in.
> 
> But I haven't found a built-in feature (either in karaf directly or in
> the OPS4J stuff) that loads the jax-rs rs-api bundle.
> 
> Is there a feature for rs-api, and have I missed it?  Or isn't there
> such a feature?
> 
> I guess the cxf features will load rs-api...? But they will probably
> load other stuff I don't want, that would conflict with jersey...?
> 
> Thanks!
> 
> 
> - Steinar
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message