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

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:
{noformat}
        <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>
{noformat}

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 from. 

Thanks!

Best Regards,
    Andriy Redko

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

Reply via email to