[ 
https://issues.apache.org/jira/browse/SMX4-1924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14291671#comment-14291671
 ] 

Claus Ibsen commented on SMX4-1924:
-----------------------------------

Its  org.apache.servicemix.bundles.swagger-core that is flawed. The packages 
from scala.xml is actually exported as version 1.0 and not 2.11 from Scala 
itself.

eg its a bit confusing. So scala core is using version 2.11.0, but scala xml 
module is using version 1.0.

So the servicemix bundles of swagger that imports scala.xml should use version 
1.0 and NOT 2.11.

> 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)

Reply via email to