You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Ascharya Shetty <as...@gmail.com> on 2015/03/05 18:49:50 UTC
Fwd: Help on maven dependencies for using apache cxf for osgi projects
Hi,
.
I wanted help on setting the right maven dependencies for using apache cxf
for jax-rs in an osgi bundle.
Are these the only dependencies required :
<dependency>
<groupId>org.apache.cxf.dosgi</groupId>
<artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-api</artifac
Thanks
Ascharya
Re: Fwd: Help on maven dependencies for using apache cxf for osgi
projects
Posted by Christian Schneider <ch...@die-schneider.net>.
The singlebundle distribution is outdated for a long time.
THe easiest way to use cxf is with apache karaf as an OSGi server as it
allows to use features for CXF that make it really easy to install.
You can find informations how to use it here:
http://liquid-reality.de/display/liquid/2011/12/22/Karaf+Tutorial+Part+4+-+CXF+Services+in+OSGi
If you do not want to use karaf then you should still try it to see
which bundles it installs. You will need the same bundles for a plain
osgi server.
Christian
Am 05.03.2015 um 18:49 schrieb Ascharya Shetty:
> Hi,
> .
> I wanted help on setting the right maven dependencies for using apache cxf
> for jax-rs in an osgi bundle.
> Are these the only dependencies required :
> <dependency>
> <groupId>org.apache.cxf.dosgi</groupId>
> <artifactId>cxf-dosgi-ri-singlebundle-distribution</artifactId>
> <version>1.4.0</version>
> </dependency>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-api</artifac
>
> Thanks
> Ascharya
>