You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rg...@apache.org on 2022/04/21 13:26:25 UTC

[pulsar] branch branch-2.9 updated: [Build] Use grpc-bom to align grpc library versions (#15234)

This is an automated email from the ASF dual-hosted git repository.

rgao pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.9 by this push:
     new c6dd300dc53 [Build] Use grpc-bom to align grpc library versions (#15234)
c6dd300dc53 is described below

commit c6dd300dc53645158d17812de0c64f6d010f093d
Author: Lari Hotari <lh...@users.noreply.github.com>
AuthorDate: Wed Apr 20 14:55:09 2022 +0300

    [Build] Use grpc-bom to align grpc library versions (#15234)
    
    (cherry picked from commit 081f0d1d20165007de1ed8b0ebd130605e094910)
---
 pom.xml | 27 ++++++++-------------------
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/pom.xml b/pom.xml
index f8722466cd9..a6cc5f8f8ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -925,6 +925,14 @@ flexible messaging model and an intuitive client API.</description>
         <version>${typetools.version}</version>
       </dependency>
 
+      <dependency>
+        <groupId>io.grpc</groupId>
+        <artifactId>grpc-bom</artifactId>
+        <version>${grpc.version}</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+
       <dependency>
         <groupId>io.grpc</groupId>
         <artifactId>grpc-all</artifactId>
@@ -949,12 +957,6 @@ flexible messaging model and an intuitive client API.</description>
         </exclusions>
       </dependency>
 
-      <dependency>
-        <groupId>io.grpc</groupId>
-        <artifactId>grpc-core</artifactId>
-        <version>${grpc.version}</version>
-      </dependency>
-
       <dependency>
         <groupId>com.google.http-client</groupId>
         <artifactId>google-http-client</artifactId>
@@ -986,18 +988,6 @@ flexible messaging model and an intuitive client API.</description>
         </exclusions>
       </dependency>
 
-      <dependency>
-        <groupId>io.grpc</groupId>
-        <artifactId>grpc-stub</artifactId>
-        <version>${grpc.version}</version>
-      </dependency>
-
-      <dependency>
-        <groupId>io.grpc</groupId>
-        <artifactId>grpc-protobuf-lite</artifactId>
-        <version>${grpc.version}</version>
-      </dependency>
-
       <dependency>
         <groupId>com.google.protobuf</groupId>
         <artifactId>protobuf-bom</artifactId>
@@ -1241,7 +1231,6 @@ flexible messaging model and an intuitive client API.</description>
         <version>${kotlin-stdlib.version}</version>
       </dependency>
 
-
     </dependencies>
   </dependencyManagement>