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

Feature camel-cxf doesn't install all required dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.15.1
    • 2.15.2, 2.16.0
    • karaf
    • None
    • Unknown

    Description

      The camel-cxf feature doesn't install the camel-spring feature, which is a required dependency. This leads to errors like this one:

      ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting mvn:org.apache.camel/camel-cxf/2.15.1 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement [105.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement [105.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))
          at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
          at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
          at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
          at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
          at java.lang.Thread.run(Thread.java:745)
      ERROR: Bundle org.apache.camel.camel-cxf [105] Error starting/stopping bundle. (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement [105.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.camel.camel-cxf [105]: Unable to resolve 105.0: missing requirement [105.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.camel.spring)(version>=2.15.0)(!(version>=2.16.0)))
          at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
          at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
          at org.apache.felix.framework.Felix.setBundleStartLevel(Felix.java:1491)
          at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:334)
          at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            muellerc Christian Müller
            muellerc Christian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: