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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • camel-spring
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: