Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for OSGi Service Loader Mediator #400

Merged
merged 3 commits into from
Oct 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add support for OSGi Service Loader Mediator
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Jul 13, 2023
commit 33a4f19f604c1b0452da2e251f15aa41182cec43
10 changes: 10 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,16 @@
!org.eclipse.parsson,
*
</Import-Package>
<!-- optional to allow usage with hk2 resource locator as a fallback -->
<Require-Capability><![CDATA[
osgi.extender;filter:="(&(osgi.extender=osgi.serviceloader.processor)
(version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional,
osgi.serviceloader;
filter:="(osgi.serviceloader=jakarta.json.spi.JsonProvider";
osgi.serviceloader="jakarta.json.spi.JsonProvider";
cardinality:=multiple;resolution:=optional
]]>
</Require-Capability>
</instructions>
</configuration>
<executions>
Expand Down