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))" + ]]>