]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Make import com.sun optional in protobuf (for io.grpc) 88/2088/1
authorjsimomaa <jani.simomaa@gmail.com>
Mon, 3 Sep 2018 11:03:35 +0000 (14:03 +0300)
committerjsimomaa <jani.simomaa@gmail.com>
Mon, 3 Sep 2018 11:03:35 +0000 (14:03 +0300)
gitlab #98

Change-Id: I38fd280bc04d67511f89bc200b66d9946cb8f9de

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

index d70e5e9073197a71a9e43cc3a97865f475a4d45b..e7dac15d3ee91b94ecb0608dac2553a9b24c9557 100644 (file)
@@ -23,6 +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>
+        <protobuf.version>3.5.1</protobuf.version>
     </properties>
 
 
                                     <id>io.grpc:grpc-netty:${grpc.version}</id>
                                     <source>true</source>
                                 </artifact>
+                                <artifact>
+                                    <id>com.google.protobuf:protobuf-java:${protobuf.version}</id>
+                                    <source>true</source>
+                                    <override>true</override>
+                                    <instructions>
+                                        <Import-Package>!sun.misc.*,*;resolution:=optional</Import-Package>
+                                    </instructions>
+                                </artifact>
                             </artifacts>
                         </configuration>
                     </execution>