+ <Bundle-Version>${jakarta.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ jakarta.xml.bind-api
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ <Export-Package>
+ javax.ws.rs;version="${jakarta.version}",
+ javax.ws.rs.core;version="${jakarta.version}",
+ javax.ws.rs.ext;version="${jakarta.version}",
+ javax.ws.rs.client;version="${jakarta.version}",
+ javax.ws.rs.container;version="${jakarta.version}",
+ javax.ws.rs.sse;version="${jakarta.version}"
+ </Export-Package>
+ </instructions>
+ </artifact>
+ <artifact>
+ <id>org.glassfish.jersey.core:jersey-common:${jersey.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ javax.annotation,
+ javax.inject,
+ jakarta.validation.jakarta.validation-api,
+ jakarta.ws.rs-api,
+ jakarta.xml.bind-api
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions>
+ </artifact>
+ <artifact>
+ <id>org.glassfish.jersey.core:jersey-server:${jersey.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ javax.annotation,
+ javax.inject,
+ jakarta.validation.jakarta.validation-api,
+ jakarta.ws.rs-api,
+ jakarta.xml.bind-api
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions>
+ </artifact>
+ <artifact>
+ <id>org.glassfish.jersey.core:jersey-client:${jersey.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ javax.annotation,
+ javax.inject,
+ jakarta.validation.jakarta.validation-api,
+ jakarta.ws.rs-api,
+ jakarta.xml.bind-api
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions>
+ </artifact>
+
+ <artifact>
+ <id>org.glassfish.jersey.media:jersey-media-multipart:${jersey.version}</id>
+ <source>true</source>
+ <!-- For some reason p2-maven-plugin does not work with the below plugin and only generates sources for that -->
+ <!-- <override>true</override>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ jakarta.ws.rs-api,
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions> -->
+ </artifact>
+ <artifact>
+ <id>org.glassfish.jersey.ext:jersey-entity-filtering:${jersey.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ jakarta.ws.rs-api,
+ org.glassfish.jersey.core.jersey-server
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions>
+ </artifact>
+ <artifact>
+ <id>org.glassfish.jersey.media:jersey-media-json-jackson:${jersey.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <excludes>
+ <exclude>com.fasterxml.jackson.*</exclude>
+ </excludes>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ javax.annotation,
+ javax.inject,
+ jakarta.validation.jakarta.validation-api,
+ jakarta.ws.rs-api,
+ jakarta.xml.bind-api
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions>
+ </artifact>
+ <artifact>
+ <id>org.glassfish.jersey.containers:jersey-container-servlet-core:${jersey.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <instructions>
+ <Bundle-Version>${jersey.version.actual}</Bundle-Version>
+ <Require-Bundle>
+ javax.annotation,
+ javax.inject,
+ jakarta.validation.jakarta.validation-api,
+ jakarta.ws.rs-api,
+ jakarta.xml.bind-api
+ </Require-Bundle>
+ <Import-Package>!javax.*,*;resolution:=optional</Import-Package>
+ </instructions>
+ </artifact>
+ <artifact>
+ <id>org.jboss.windup.decompiler:decompiler-procyon:${decompiler-procyon.version}</id>
+ <source>true</source>
+ </artifact>
+ <artifact>
+ <id>org.jsoup:jsoup:${jsoup.version}</id>
+ <source>true</source>
+ </artifact>
+ <artifact>
+ <id>org.yaml:snakeyaml:${snakeyaml.version}</id>
+ <source>true</source>
+ </artifact>
+ <artifact>
+ <id>org.eclipse.jetty:jetty-servlets:${jetty945.version}</id>
+ <source>true</source>
+ </artifact>
+ <artifact>
+ <id>org.zeroturnaround:zt-exec:${zeroturnaround.version}</id>
+ <source>true</source>
+ </artifact>
+ <!-- Since 1.21.0 grpc, a manually set up plugin is provided in third-party repository.
+ Note: grpc-core, grpc-context, and grpc-stub (maybe others as well) must be bundled into same plug-in, since they contain split packages.
+ See:
+ * https://github.com/grpc/grpc-java/issues/2727
+ * https://github.com/grpc/grpc-java/issues/3522
+ <artifact>
+ <id>io.grpc:io.grpc:${grpc.version}</id>
+ <source>true</source>
+ </artifact>
+ <artifact>
+ <id>io.grpc:grpc-netty:${grpc.version}</id>
+ <source>true</source>
+ <override>true</override>
+ <instructions>
+ <Require-Bundle>
+ io.netty.buffer;bundle-version="4.1.27",
+ io.netty.codec;bundle-version="4.1.27",
+ io.netty.codec-http;bundle-version="4.1.27",
+ io.netty.codec-http2;bundle-version="4.1.27",
+ io.netty.codec-socks;bundle-version="4.1.27",
+ io.netty.common;bundle-version="4.1.27",
+ io.netty.handler;bundle-version="4.1.27",
+ io.netty.handler-proxy;bundle-version="4.1.27",
+ io.netty.resolver;bundle-version="4.1.27",
+ io.netty.transport;bundle-version="4.1.27",
+ io.grpc
+ </Require-Bundle>
+ <Import-Package>!io.netty.*,*;resolution:=optional</Import-Package>
+ <Require-Capability>
+ osgi.extender;
+ filter:="(osgi.extender=osgi.serviceloader.registrar)"
+ </Require-Capability>
+ <Provide-Capability>
+ osgi.serviceloader;
+ osgi.serviceloader=io.grpc.ServerProvider,
+ osgi.serviceloader;
+ osgi.serviceloader=io.grpc.ManagedChannelProvider
+ </Provide-Capability>
+ <Bundle-Version>${grpc.version.actual}</Bundle-Version>