mattrpav opened a new pull request, #3808:
URL: https://github.com/apache/cxf/pull/3808

   …jakarta.xml.soap
   
   The OSGi import ranges did not follow the Jakarta EE 11 API versions CXF 4.2 
builds against, so the affected bundles could not resolve (or silently lost 
optional imports) in an OSGi container:
   
   - cxf.osgi.jakarta.xml.ws.version was [3,4) while jakarta.xml.ws-api is 
4.0.x. cxf-core imports jakarta.xml.ws optionally, so the import is never wired 
and every CXF feature (AbstractFeature extends WebServiceFeature), e.g. 
LoggingFeature, fails with NoClassDefFoundError. Now [4,5), consistent with 
cxf.osgi.jakarta.jwsapi.version (jakarta.jws ships in the same API jar).
   - cxf-rt-frontend-jaxrs hard-coded jakarta.ws.rs* at [3,4) while CXF builds 
against jakarta.ws.rs-api 4.0.0 (the other JAX-RS modules already import 
[4.0,5)). Adds cxf.osgi.jakarta.ws.rs.version=[4,5) and uses it.
   - cxf.osgi.saaj.version was [2,3) while jakarta.xml.soap-api is 3.0.x 
(affects cxf-rt-bindings-soap, frontend-jaxws, ws-security, ws-rm, ws-eventing).
   
   Verified by building core, rt/frontend/jaxrs and rt/bindings/soap and 
checking the generated manifests, and by running CXF 4.2.4 JAX-RS bundles 
carrying the same ranges in Apache Karaf 4.5.0 on JDK 25.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to