From: jsimomaa Date: Tue, 4 Sep 2018 07:20:52 +0000 (+0300) Subject: Try to fix grpc work with OSGI via ARIES serviceloader X-Git-Tag: v1.43.0~136^2~387^2~12 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=732dc01ffeeee74403ca3667ab43a08169689fa4;p=simantics%2Fplatform.git Try to fix grpc work with OSGI via ARIES serviceloader gitlab #98 Change-Id: Id534a1da66c9593d4b514166ec916de069c717de --- diff --git a/releng/org.simantics.sdk.build.p2.site/pom.xml b/releng/org.simantics.sdk.build.p2.site/pom.xml index 7f1d8d59d..7f27b3e96 100644 --- a/releng/org.simantics.sdk.build.p2.site/pom.xml +++ b/releng/org.simantics.sdk.build.p2.site/pom.xml @@ -482,6 +482,8 @@ io.grpc.util;version="${grpc.version}" !com.google.errorprone.annotations,* + osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)", osgi.serviceloader; filter:="(osgi.serviceloader=io.grpc.ServerProvider,io.grpc.ManagedChannelProvider)"; cardinality:=multiple + ${grpc.version.actual} @@ -504,6 +506,12 @@ io.grpc:grpc-netty:${grpc.version} true + true + + osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)" + osgi.serviceloader; filter:="(osgi.serviceloader=io.grpc.ServerProvider,io.grpc.ManagedChannelProvider)" + ${grpc.version.actual} + com.google.protobuf:protobuf-java:${protobuf.version}