You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/03/20 10:26:41 UTC

[jira] [Commented] (CXF-7288) cxf-rs-description-swagger2 cannot be installed in karaf

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

Sergey Beryozkin commented on CXF-7288:
---------------------------------------

Guillaume fixed it for 3.1.11-SNAPSHOT.
Before 3.1.10 the users had to install Jackson manually so we decided to make it simpler, and I believe Andriy confirmed it was working but possibly with the older version of Jackson. 
But there was also a plan to support the 'old' case where a Swagger2 feature gets installed without Jackson given that Jackson may have already been installed. So I'll add another feature, "cxf-rs-description-swagger2_no_jackson"

> cxf-rs-description-swagger2 cannot be installed in karaf
> --------------------------------------------------------
>
>                 Key: CXF-7288
>                 URL: https://issues.apache.org/jira/browse/CXF-7288
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.1.10
>            Reporter: Ivo Leitão
>
> Unable to install cxf-rs-description-swagger2. This doesn't happen in the previous version (3.1.9).
> Steps to reproduce:
> Download apache karaf 4.1
> Launch karaf
> issue repo-add cxf
> issue feature:install cxf-rs-description-swagger2
> An exception is presented:
> Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=cxf-rs-description-swagger2; type=karaf.feature; version="[3.1.10,3.1.10]"; filter:="(&(osgi.identity=cxf-rs-description-swagger2)(type=karaf.feature)(version>=3.1.10)(version<=3.1.10))" [caused by: Unable to resolve cxf-rs-description-swagger2/3.1.10: missing requirement [cxf-rs-description-swagger2/3.1.10] osgi.identity; osgi.identity=cxf-jackson; type=karaf.feature; version="[3.1.10,3.1.10]" [caused by: Unable to resolve cxf-jackson/3.1.10: missing requirement [cxf-jackson/3.1.10] osgi.identity; osgi.identity=com.fasterxml.jackson.dataformat.jackson-dataformat-yaml; type=osgi.bundle; version="[2.8.6,2.8.6]"; resolution:=mandatory [caused by: Unable to resolve com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.8.6: missing requirement [com.fasterxml.jackson.dataformat.jackson-dataformat-yaml/2.8.6] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.yaml.snakeyaml)(version>=1.17.0)(!(version>=2.0.0)))"]]]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)