Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7267

camel-salesforce - Problem deploying to karaf containers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.3
    • Fix Version/s: 2.12.4, 2.13.0
    • Component/s: camel-salesforce, karaf
    • Labels:
      None
    • Estimated Complexity:
      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]
      

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: