coheigea opened a new pull request, #3815: URL: https://github.com/apache/cxf/pull/3815
[CXF-9163](https://issues.apache.org/jira/browse/CXF-9163) `cxf-rt-frontend-jaxws` still declares `Bundle-Activator: org.apache.cxf.jaxws.blueprint.Activator` and exports a Blueprint `NamespaceHandler` service, although the `org.apache.cxf.jaxws.blueprint` package (the `Activator`, `JAXWSBPNamespaceHandler` and `EndpointDefinitionParser` classes) was removed in CXF-8766. The two properties were re-added to the pom by CXF-8879 when the OSGi manifest configuration was restored. Because the activator class is not in the bundle, bnd adds an `Import-Package` for its package, so the bundle cannot resolve in an OSGi container: missing requirement [org.apache.cxf.cxf-rt-frontend-jaxws] osgi.wiring.package; (osgi.wiring.package=org.apache.cxf.jaxws.blueprint) This removes `cxf.bundle.activator` and `cxf.export.service` (and the "keep in sync with services exported in activator" comment) from `rt/frontend/jaxws/pom.xml`. No code changes. The version-range half of CXF-9163 (`jakarta.xml.ws`, `jakarta.xml.soap`, `jakarta.ws.rs`, `jakarta.servlet`) was fixed in #3808. ### Verification - The generated manifest no longer contains `Bundle-Activator`, `Export-Service` or any reference to `org.apache.cxf.jaxws.blueprint`. - In Apache Karaf 4.5.0, installed `cxf-rt-frontend-jaxws` with its dependencies (`cxf-rt-wsdl`, `cxf-rt-ws-policy`, `cxf-rt-bindings-xml`/`-soap`, `cxf-rt-databinding-jaxb`, `cxf-rt-frontend-simple`, `cxf-rt-ws-addr`, neethi, wsdl4j): - without this change the bundle fails to resolve with the error above; - with it the bundle resolves and starts. - In the same container, verified the #3808 ranges: `cxf-rt-frontend-jaxrs` resolves against `jakarta.ws.rs-api` 4.0.0, and `cxf-core`'s optional `jakarta.xml.ws` import is wired, so `LoggingFeature` (via `AbstractFeature extends WebServiceFeature`) loads. ### Backport The change applies cleanly to `4.1.x-fixes`, which has the same stale activator (the issue was reported against 4.1.3). 4.0.x-fixes is also affected. -- 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]
