cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akitoshi Yoshida (JIRA)" <>
Subject [jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt
Date Tue, 13 Sep 2016 22:38:20 GMT


Akitoshi Yoshida commented on CXF-7045:

Hi Andriy,
well, I verified the original feature.xml

and those jackson bundles were there and those entries are still there in the current feature.xml.

so, you don't need to install them extra when using cxf's swagger feature.

The only occasion this can go wrong is that since we are pulling the jackson version from
swagger transitively and write them into the cxf-description-swagger's manifest. So, if someone
changes cxf parent's jackson version while keeping the swagger version, the jackson version
referenced in cxf's feature.xml and what is actually referenced in cf-description-swagger's
manifest might diverge too far so that the wiring can fail. And I suspect this was what had
happened in your situation.

regards, aki

> Update sample description_swagger2_osgi README.txt
> --------------------------------------------------
>                 Key: CXF-7045
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Samples
>            Reporter: John Poth
>            Assignee: Freeman Fang
>            Priority: Minor
>             Fix For: 3.2.0, 3.1.8
> Update jackson version. Currently getting the error:
> {code}
> Caused by: org.osgi.framework.BundleException: Unable to resolve org.apache.cxf.samples.jax_rs_description_swagger2_osgi
[146](R 146.0): missing requirement [org.apache.cxf.samples.jax_rs_description_swagger2_osgi
[146](R 146.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))
Unresolved requirements: [[org.apache.cxf.samples.jax_rs_description_swagger2_osgi [146](R
146.0)] osgi.wiring.package; (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.json)(version>=2.6.0)(!(version>=3.0.0)))]
> {code}

This message was sent by Atlassian JIRA

View raw message