[
https://issues.apache.org/jira/browse/CXF-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15496577#comment-15496577
]
Sergey Beryozkin commented on CXF-7045:
---------------------------------------
I've been wondering if we should support difference scenarios and thus have few
features.
First we should have a helper 'jackson' feature - for all the users who prefer
to install Jackson in OSGI, this in itself not related to Swagger2.
Next we have a 'minimal' Swagger2 feature - it has all but jackson specific
dependencies.
Finally we have a current swagger2 feature which, with option3 enforced, simply
works - it will depend on a new jackson feature.
So if a user has already installed Jackson manually or with a new Jackson
feature to support JSON at the application level and Swagger is needed - then
'minimal' Swagger2 feature is installed. Otherwise - a complete swagger2
feature is installed.
Does it work ?
Sergey
> Update sample description_swagger2_osgi README.txt
> --------------------------------------------------
>
> Key: CXF-7045
> URL: https://issues.apache.org/jira/browse/CXF-7045
> 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
(v6.3.4#6332)