rest icon indicating copy to clipboard operation
rest copied to clipboard

OSGi / Spifly Provider support

Open col-panic opened this issue 1 month ago • 1 comments

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.

col-panic avatar Jan 20 '25 09:01 col-panic