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

Move Main out of camel-spring due to osgi circular dependency issue

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0
    • Component/s: camel-spring
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      karaf@root()> start 114
      Error executing command: Error executing command on bundles:
      Error starting bundle 114: Uses constraint violation. Unable to resolve resource org.apache.camel.camel-main [org.apache.camel.camel-main [114](R 114.0)] because it exports package 'org.apache.camel' and is also exposed to it from resource org.apache.camel.camel-api [org.apache.camel.camel-api [52](R 52.0)] via the following dependency chain:

      org.apache.camel.camel-main [org.apache.camel.camel-main [114](R 114.0)]
      import: (&(osgi.wiring.package=org.apache.camel.builder)(version>=3.2.0)(!(version>=3.3.0)))

      export: osgi.wiring.package=org.apache.camel.builder; uses:=org.apache.camel
      org.apache.camel.camel-core-engine [org.apache.camel.camel-core-engine [61](R 61.0)]
      import: (&(osgi.wiring.package=org.apache.camel)(version>=3.2.0)(!(version>=4.0.0)))

      export: osgi.wiring.package: org.apache.camel
      org.apache.camel.camel-api [org.apache.camel.camel-api [52](R 52.0)] Unresolved requirements: [[org.apache.camel.camel-main [114](R 114.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.builder)(version>=3.2.0)(!(version>=3.3.0)))]

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: