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

Feature camel-swagger doesn't install all required dependencies

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.1
    • Fix Version/s: 2.15.2, 2.16.0
    • Component/s: camel-swagger
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

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

      ERROR: Bundle org.apache.servicemix.bundles.swagger-core [89] Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.swagger-core/1.3.12_1 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.swagger-core [89]: Unable to resolve 89.0: missing requirement [89.0] osgi.wiring.package; (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.swagger-core [89]: Unable to resolve 89.0: missing requirement [89.0] osgi.wiring.package; (&(osgi.wiring.package=scala.reflect.api)(version>=2.10.0)(!(version>=3.0.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)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: