cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <>
Subject [jira] [Commented] (CXF-7045) Update sample description_swagger2_osgi README.txt
Date Wed, 14 Sep 2016 14:58:20 GMT


Andriy Redko commented on CXF-7045:

Hey guys,

Here is what I have found. The dependencies for Jackson are indeed in the feature.xml file
but those two:
        <bundle start-level="35" dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.6.6</bundle>
        <bundle start-level="35" dependency="true">mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.6.6</bundle>

Are not being installed as part of feature:install. Apparently, due to *dependency="true"*,
there is another bundle which satisfy those dependencies and they are skipped. For a sake
of experiment, I removed *dependency="true"*, deployed feature, deployed sample and everything
resolves perfectly. So I think this is the issue, looking right now where the conflict comes


Best Regards,
    Andriy Redko

> 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