JB, turns out I'm here on the list. After a long evening of reading, I have the following set of Maven modules:
* a module with a blueprint that contains my service. No IO8 at all, just uses CXF and my own bundles that do the work. * a module that makes a feature.xml for it using the karaf-maven-plugin, combining it with its dependencies. I realize that this is not necessary. * a module that makes a kar from this feature and then tries to combine in other pieces as additional features. As you've seen, I've had some other problems with that. My current headache is not related to cxf, so I'll put it on the karaf list. On Fri, Jul 24, 2015 at 1:22 AM, Jean-Baptiste Onofré <[email protected]> wrote: > You don't need the karaf-maven-plugin. > > Install cxf features: > > feature:repo-add cxf 3.1.1 > feature:install cxf > > Create your bundle (with io8 as private package, probably the easiest if io8 > artifact is not a OSGi bundle), with maven-bundle-plugin. This bundle use > JAX-RS annotation (@Path), etc. > > Regards > JB > > On 07/23/2015 09:37 PM, Benson Margulies wrote: >> >> I started to try to set up a CXF / Karaf / REST project, but I got >> myself tangled up with the very old archetype from io8. Can someone >> point me to an archetype or example project that uses Karaf 4.0.0, the >> karaf-maven-plugin, and does a restful service with CXF? >> >> I may not be subscribed to this mailing list at the instant, so a >> personal reply would be appreciated. >> > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://www.talend.com
