Figured I'd try a different approach. I installed a clean Karaf 2.2.3 with
the idea of adding in the service mix features I need from
mvn:org.apache.servicemix/apache-servicemix/4.3.0/xml/features

I started with attempting to add camel 2.8.0:
   features:addurl
mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features
   features:install camel/2.8.0
   Error executing command: Could not start bundle
mvn:org.springframework/spring-tx/3.0.5.RELEASE in feature(s)
camel-jms-2.8.0, camel-sql-2.8.0, camel-bam-2.8.0, camel-spring-2.8.0,
camel-jpa-2.8.0: Unresolved constraint in bundle
org.springframework.transaction [63]: Unable to resolve 63.0: missing
requirement [63.0] package;
(&(package=org.springframework.beans)(version>=3.0.5)(!(version>=3.0.6)))

So I look at the feature definition
(http://repo1.maven.org/maven2/org/apache/camel/karaf/apache-camel/2.8.0/apache-camel-2.8.0-features.xml)
and find that all of the spring bundle versions are hard coded instead of
using the version ranges:
  <bundle
dependency="true">mvn:org.springframework/spring-tx/3.0.5.RELEASE</bundle>

The Karaf 2.2.3 standard features repo has only spring-3.0.6.RELEASE. I
suppose I can install spring/3.0.5.RELEASE by adding the Karaf 2.2.2
standard features repo and installing spring 3.0.5 that way but it's
confidence shaking. Perhaps I'll install Karaf 2.2.2 instead of 2.2.3...

I noticed that camel-2.8.1 is also out but it's feature has the same
3.0.5.RELEASE dependencies. It seems like the camel feature dependencies
either ought to say 3.0.5.RELEASE instead of "[3,4)" or the bundle
dependencies ought to say "[3,4)" instead of 3.0.5.RELEASE.


--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Camel-2-8-0-in-SMX4-3-update-to-Karaf-2-2-tp4889467p4889623.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to