On 12/21/2011 01:59 PM, Jean-Baptiste Onofré wrote:
Hi Ramesh,

1/ check if the features XML is present in your m2 repo (from the user who launch Karaf) 2/ if the features XML is deployed in a Maven repo, you have to add the repo in the etc/org.ops4j.pax.url.mvn.cfg file

Regards
JB

On 12/21/2011 06:51 PM, ramesh wrote:
This is my first attempt at osgi and I followed the blog post by
Jean-Baptiste

http://blog.nanthrax.net/2011/08/jax-rs-services-using-cxf-and-karaf/


I have the karaf folder at the same level as my project 'intro' folder.
After I start Karaf and try to add


features:addUrl mvn:com.mera.osgi.cxf/com.mera.osgi.cxf.common/0.1/x
ml
Could not add Feature Repository:
java.lang.RuntimeException: URL
[mvn:com.mera.osgi.cxf/com.mera.osgi.cxf.common/0.1/xml] could not be
resolved.

I get the error.

I uploaded the project to git https://github.com/apnatwit/intro. If
someone can please take a look at it and let me give some pointers , it
will be great.

regards,
Ramesh



Thanks JB,

Thanks for the pointer.  This could be the possible solution .

regards,

Reply via email to