[
https://issues.apache.org/jira/browse/SMX4-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291672#comment-14291672
]
Claus Ibsen commented on SMX4-1924:
-----------------------------------
You can for example enable camel-swagger feature in camel's features.xml file
(currently disabled) from master branch, and try to install that in karaf 2.4+,
and you can see the error.
> swagger bundle is flawed
> ------------------------
>
> Key: SMX4-1924
> URL: https://issues.apache.org/jira/browse/SMX4-1924
> Project: ServiceMix 4
> Issue Type: Task
> Components: Bundles
> Reporter: Claus Ibsen
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)