Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
To reproduce then try to install camel-swagger in karaf 2.4.1 or newer version
Could not start bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.swagger-core/1.3.11_1 in feature(s) camel-swagger-2.15-SNAPSHOT: Unresolved constraint in bundle org.apache.servicemix.bundles.swagger-core [105]: Unable to resolve 105.0: missing requirement [105.0] osgi.wiring.package; (&(osgi.wiring.package=scala.xml)(version>=2.10.0)(!(version>=3.0.0)))
The bug is that the swagger-core bundle wants to import scala.xml version 2.10. But scala.xml is actually exported as version 1.0.x
Yeah its a bit confusing, that this module is on version 1.0.x while scala itself is on version 2.11.x.
Also upgrade to newer swagger 1.3.7 when fixing this.
Attachments
Issue Links
- is required by
-
CAMEL-8264 camel-swagger - Add karaf feature
- Resolved