From 23783706b0d123dce86bee756025762c4a7089ca Mon Sep 17 00:00:00 2001 From: RobWalker <4760572+ascertrobw@users.noreply.github.com> Date: Wed, 8 Sep 2021 16:27:02 +0100 Subject: [PATCH] Fix for #242 - Inclusion of basic OSGI headers and optional ServiceLoader provider requirement. --- r2dbc-spi/pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/r2dbc-spi/pom.xml b/r2dbc-spi/pom.xml index d63f58b..085c5d1 100644 --- a/r2dbc-spi/pom.xml +++ b/r2dbc-spi/pom.xml @@ -74,6 +74,19 @@ r2dbc.spi + + bundle + 2 + ${project.groupId}_${project.artifactId} + ${project.artifactId} + ${project.version} + io.r2dbc.spi;version="${project.version}" + javax.annotation.meta;resolution:=optional,javax.annotation + osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))", osgi.extender;resolution:=optional;filter:="(osgi.extender=osgi.serviceloader.processor)",osgi.serviceloader;resolution:=optional;filter:="(osgi.serviceloader=io.r2dbc.spi.ConnectionFactoryProvider)";cardinality:=multiple