Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.12.3
-
None
-
Unknown
Description
There is a problem if joda-time 1.6 is installed as part of other features etc. And then you install camel-salesforce you can have this error
karaf@root> features:install camel-salesforce Refreshing bundles org.apache.camel.camel-core (61) Error executing command: Could not start bundle mvn:org.apache.camel/camel-salesforce/2.12.3 in feature(s) camel-salesforce-2.12.3: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-salesforce [105.0] because it is exposed to package 'org.joda.time' from bundle revisions joda-time [104.0] and joda-time [54.0] via two dependency chains. Chain 1: org.apache.camel.camel-salesforce [105.0] import: (&(osgi.wiring.package=org.joda.time)(version>=2.1.0)(!(version>=3.0.0))) | export: osgi.wiring.package=org.joda.time joda-time [104.0] Chain 2: org.apache.camel.camel-salesforce [105.0] import: (&(osgi.wiring.package=com.thoughtworks.xstream.annotations)(version>=1.3.0)(!(version>=2.0.0))) | export: osgi.wiring.package=com.thoughtworks.xstream.annotations; uses:=org.joda.time org.apache.servicemix.bundles.xstream [99.0] import: (&(osgi.wiring.package=org.joda.time)(version>=1.6.0)(!(version>=3.0.0))) | export: osgi.wiring.package=org.joda.time joda-time [54.0]