rest
rest copied to clipboard
OSGi / Spifly Provider support
This issue is tightly interconnected with https://github.com/eclipse-ee4j/jersey/issues/5834
Problem In an OSGi Environment, the Require-Capability
is not defined in META-INF/MANIFEST.MF
such
that dependency injection via hk2 resp. spifly is supported.
In jakarta.xml.bind-api
this is for example solved in line https://github.com/jakartaee/jaxb-api/blob/748c50bb8f71b4687febca5400fa9c574644aac3/api/pom.xml#L238
Please consider https://github.com/col-panic/rest/commit/4e3cdba5d5b1a0cf3a9ec0d583d2fe1d891b0817 (Nevermind the version
tag which is used for testing)
At the moment it suffice for me to include these 2jakarta.ws.rs.ext.RuntimeDelegate
and jakarta.ws.rs.client.ClientBuilder
for it
to properly run - I do not know if there are additional dependencies to be added.