From 5aea8ee368cbac8e3401fe5c8a62088b9ae6db66 Mon Sep 17 00:00:00 2001 From: Lukas Jungmann Date: Fri, 23 Dec 2022 13:51:06 +0100 Subject: [PATCH] minor tweak to osgi requirements Signed-off-by: Lukas Jungmann --- api/pom.xml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/api/pom.xml b/api/pom.xml index 32652f94..0249e905 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -173,7 +173,7 @@ org.apache.felix maven-bundle-plugin - 5.1.1 + 5.1.8 <_noextraheaders>true @@ -353,6 +353,7 @@ false + true ${project.artifactId} ${spec.title} @@ -369,13 +370,15 @@ =1.0.0)(!(version>=2.0.0)))", - osgi.serviceloader; - filter:="(osgi.serviceloader=jakarta.mail.util.StreamProvider)"; + (version>=1.0.0)(!(version>=2.0.0)))";resolution:=optional, + osgi.serviceloader;filter:="(osgi.serviceloader=jakarta.mail.Provider)"; + osgi.serviceloader="jakarta.mail.Provider"; cardinality:=multiple;resolution:=optional, - osgi.serviceloader; - filter:="(osgi.serviceloader=jakarta.mail.Provider)"; - cardinality:=multiple;resolution:=optional]]> + osgi.serviceloader;filter:="(osgi.serviceloader=jakarta.mail.util.StreamProvider)"; + osgi.serviceloader="jakarta.mail.util.StreamProvider"; + cardinality:=multiple;resolution:=optional, + osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.8))" + ]]>