Gregor Eichelberger created CXF-9120:
----------------------------------------

             Summary: 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


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)

Reply via email to