Confirmed, using the following feature URL worked: features:addurl mvn:org.apache.camel/camel-example-osgi/2.8.2-SNAPSHOT/xml/features
Thanks for your quick reply. Cheers, Raman On 10/20/2011 12:36 AM, [email protected] wrote: > Hi, > > It should work with Camel 2.8.2 (release in vote). > For previous Camel versions you have to use Karaf 2.2.2. > > Regards > JB > > -- > Jean-Baptiste Onofré > [email protected] > http://blog.nanthrax.net > Talend - http://wwx.talend.com > > ----- Reply message ----- > From: "Raman Gupta" <[email protected]> > To: <[email protected]> > Subject: camel-spring fails to install on Karaf 2.2.4 > Date: Thu, Oct 20, 2011 1:06 am > > > Installing camel-spring fails on Karaf 2.2.4. Following the > documentation "Quick Start, Deploy a Sample Application" but using > Camel 2.8.1 instead of 2.7.0 (note that 2.7.0 fails with the same error): > > features:addurl mvn:org.apache.camel/camel-example-osgi/2.8.1/xml/features > features:install camel-example-osgi > > results in: > > Error executing command: Could not start bundle > mvn:org.apache.camel/camel-spring/2.8.1 in feature(s) > camel-spring-2.8.1: Unable to resolve module > org.apache.camel.camel-spring [200.0] because it is exposed to package > 'org.springframework.core' from org.springframework.core [79.0] and > org.springframework.core [93.0] via two dependency chains. > > > > > > > Chain 1: > > > > org.apache.camel.camel-spring [200.0] > > > > import: > (&(package=org.springframework.core)(version>=3.0.0)(!(version>=4.0.0))) > > > > | > > > > export: package=org.springframework.core > > > > org.springframework.core [79.0] > > > > > > > > Chain 2: > > > > org.apache.camel.camel-spring [200.0] > > > > import: > (&(package=org.apache.camel.view)(version>=2.8.1)(!(version>=2.8.2))) > > > > | > > > > export: package=org.apache.camel.view; > uses:=org.springframework.jmx.export.annotation > > > org.apache.camel.camel-core [191.0] > > > > import: > (&(package=org.springframework.jmx.export.annotation)(version>=3.0.0)(!(version>=4.0.0))) > > > > | > > > > export: package=org.springframework.jmx.export.annotation; > uses:=org.springframework.aop.target > > > org.springframework.context [98.0] > > > > import: > (&(package=org.springframework.aop.target)(version>=3.0.6)(!(version>=3.0.7))) > > > > | > > > > export: package=org.springframework.aop.target; > uses:=org.springframework.core > > > org.springframework.aop [97.0] > > > > import: > (&(package=org.springframework.core)(version>=3.0.6)(!(version>=3.0.7))) > > > > | > > > > export: package=org.springframework.core > > > > org.springframework.core [93.0]
