You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2025/03/21 11:52:00 UTC

[jira] [Updated] (CXF-9120) OSGi jakarta.xml.bind version mismatch

     [ https://issues.apache.org/jira/browse/CXF-9120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko updated CXF-9120:
------------------------------
    Fix Version/s: 4.1.2

> OSGi jakarta.xml.bind version mismatch
> --------------------------------------
>
>                 Key: CXF-9120
>                 URL: https://issues.apache.org/jira/browse/CXF-9120
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 4.1.1
>            Reporter: Gregor Eichelberger
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> There is a version mismatch between the used jakarat.xml.bind-api version and the generated OSGi Metadata.
> The OSGi Metadata is generated based on the following property:
> {code:java}
> <cxf.osgi.jakarta.bind.version>[3,4)</cxf.osgi.jakarta.bind.version>{code}
> While the jakarta.xml.bind-api dependency management uses
> {code:java}
> <cxf.jaxb.version>4.0.2</cxf.jaxb.version>{code}
> We have problems with our Karaf application to fulfill the requirements.
> {code:java}
> Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.cxf.cxf-core/4.1.1: missing requirement [org.apache.cxf.cxf-core/4.1.1] osgi.wiring.package; filter:="(&(osgi.wiring.package=jakarta.xml.bind)(version>=3.0.0)(!(version>=4.0.0)))"{code}
> While glassfish wants a newer version:
> {code:java}
>   org.glassfish.jaxb.runtime [org.glassfish.jaxb.runtime/4.0.5]
>     import: (&(osgi.wiring.package=jakarta.xml.bind)(version>=4.0.0)(!(version>=5.0.0))){code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)