From ad5c9c14b913b52b525886282fda1e9098c60fd0 Mon Sep 17 00:00:00 2001 From: Dirk Fauth Date: Wed, 27 Mar 2024 12:59:09 +0100 Subject: [PATCH] Adds Feature #1568 - [OSGi] Opting in to Service Loader Mediator --- eclipse-collections-api/bnd.bnd | 4 ++++ eclipse-collections/bnd.bnd | 4 ++++ pom.xml | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/eclipse-collections-api/bnd.bnd b/eclipse-collections-api/bnd.bnd index 53bf626337..09cc231c21 100644 --- a/eclipse-collections-api/bnd.bnd +++ b/eclipse-collections-api/bnd.bnd @@ -4,3 +4,7 @@ Automatic-Module-Name: org.eclipse.collections.api Bundle-SymbolicName: org.eclipse.collections.api Export-Package: \ *;version="${package-version}" + +Require-Capability: \ + osgi.extender;\ + filter:="(&(osgi.extender=osgi.serviceloader.processor)(version>=1.0)(!(version>=2.0)))" diff --git a/eclipse-collections/bnd.bnd b/eclipse-collections/bnd.bnd index 0a2323af31..54c2b4f46d 100644 --- a/eclipse-collections/bnd.bnd +++ b/eclipse-collections/bnd.bnd @@ -9,3 +9,7 @@ Export-Package: \ Import-Package: \ sun.misc.*;resolution:=optional, \ * + +Require-Capability: \ + osgi.extender;\ + filter:="(&(osgi.extender=osgi.serviceloader.registrar)(version>=1.0)(!(version>=2.0)))" diff --git a/pom.xml b/pom.xml index c4af8ccc96..811f9dce0e 100644 --- a/pom.xml +++ b/pom.xml @@ -537,7 +537,7 @@ biz.aQute.bnd bnd-maven-plugin - 5.1.1 + 6.4.0