Skip to content

Commit

Permalink
add instructions for osgi mediator
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <[email protected]>
  • Loading branch information
lukasj committed Aug 28, 2023
1 parent 4f2ab0e commit 477747c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,16 @@ Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">
<Specification-Vendor>${vendor.name}</Specification-Vendor>
<Implementation-Build-Id>${buildNumber}</Implementation-Build-Id>
<_noextraheaders>true</_noextraheaders>
<!-- 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.xml.bind.JAXBContextFactory)";
osgi.serviceloader="jakarta.xml.bind.JAXBContextFactory";
cardinality:=multiple;resolution:=optional
]]>
</Require-Capability>
</instructions>
</configuration>
</execution>
Expand Down

0 comments on commit 477747c

Please sign in to comment.