You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2015/01/26 11:48:35 UTC

[jira] [Comment Edited] (SMX4-1924) swagger bundle is flawed

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

Freeman Fang edited comment on SMX4-1924 at 1/26/15 10:48 AM:
--------------------------------------------------------------

Hi Claus,

Which scala bundle you are using?
Seems you are using scala bundle which has incorrect OSGi header. 
Likely if you install
mvn:org.scala-lang/scala-library/2.10.2
the scala.xml version is 2.10.2.v20130530-074427-VFINAL-60d462ef6e as expected.

Freeman


was (Author: ffang):
Hi Claus,

Which scala bundle you are using?
Seems you are using incorrect scala bundle.

Freeman

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