]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Still try to fix grpc work with OSGI via ARIES serviceloader 95/2095/1
authorjsimomaa <jani.simomaa@gmail.com>
Tue, 4 Sep 2018 09:05:52 +0000 (12:05 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Tue, 4 Sep 2018 09:05:52 +0000 (12:05 +0300)
gitlab #98

Change-Id: I7cef18eaa455fdfb90ba038783daf1b97e05f1cf

releng/org.simantics.sdk.build.p2.site/pom.xml

index 7f27b3e96ea16b39abb24936a9f116dab93b9217..d8122670b1fd4af59a7ae20256af8739ccc7f526 100644 (file)
@@ -23,7 +23,7 @@
         <slf4j.version>1.7.25</slf4j.version>
         <slf4j.version.actual>1.7.25.b001</slf4j.version.actual>
         <grpc.version>1.14.0</grpc.version>
-        <grpc.version.actual>1.14.0.b001</grpc.version.actual>
+        <grpc.version.actual>1.14.0.b002</grpc.version.actual>
         <protobuf.version>3.5.1</protobuf.version>
     </properties>
 
                                             io.grpc.util;version="${grpc.version}"
                                         </Export-Package>
                                         <Import-Package>!com.google.errorprone.annotations,*</Import-Package>
-                                        <Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.processor)", osgi.serviceloader; filter:="(osgi.serviceloader=io.grpc.ServerProvider,io.grpc.ManagedChannelProvider)"; cardinality:=multiple</Require-Capability>
+                                        <Require-Capability>
+                                            osgi.extender;
+                                                filter:="(osgi.extender=osgi.serviceloader.processor)",
+                                            osgi.serviceloader;
+                                                filter:="(osgi.serviceloader=io.grpc.ServerProvider)";
+                                                cardinality:=multiple,
+                                            osgi.serviceloader;
+                                                filter:="(osgi.serviceloader=io.grpc.ManagedChannelProvider)";
+                                                cardinality:=multiple
+                                        </Require-Capability>
                                         <Bundle-Version>${grpc.version.actual}</Bundle-Version>
                                     </instructions>
                                 </artifact>
                                     <source>true</source>
                                     <override>true</override>
                                     <instructions>
-                                        <Require-Capability>osgi.extender; filter:="(osgi.extender=osgi.serviceloader.registrar)"</Require-Capability>
-                                        <Provide-Capability>osgi.serviceloader; filter:="(osgi.serviceloader=io.grpc.ServerProvider,io.grpc.ManagedChannelProvider)"</Provide-Capability>
+                                        <Require-Capability>
+                                            osgi.extender;
+                                                filter:="(osgi.extender=osgi.serviceloader.registrar)"
+                                        </Require-Capability>
+                                        <Provide-Capability>
+                                            osgi.serviceloader;
+                                                osgi.serviceloader=io.grpc.ServerProvider,
+                                            osgi.serviceloader;
+                                                osgi.serviceloader=io.grpc.ManagedChannelProvider
+                                        </Provide-Capability>
                                         <Bundle-Version>${grpc.version.actual}</Bundle-Version>
                                     </instructions>
                                 </artifact>