[
https://issues.apache.org/jira/browse/SMX4-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291688#comment-14291688
]
Claus Ibsen commented on SMX4-1924:
-----------------------------------
Thanks it works with scala 2.10.4. So the swagger bundles from SMX does not
support Scala 2.11. So maybe the version range of scala should be changed to be
2.10.x only.
Or maybe better to not have any version on the scala.xml packages so it can
support both Scala 2.10 and 2.11 at the same time.
> 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)