From 8e1af30cc61799df37490ce641963da94222d98c Mon Sep 17 00:00:00 2001 From: Liang Zhang Date: Sat, 21 Oct 2023 11:48:56 +0800 Subject: [PATCH] Use grpc-bom and protobuf-bom (#28825) * Use grpc-bom and protobuf-bom * Use grpc-bom and protobuf-bom * downgrade netty version --- .../scenario/cdc/protocol/pom.xml | 2 +- pom.xml | 67 ++++++------------- 2 files changed, 23 insertions(+), 46 deletions(-) diff --git a/kernel/data-pipeline/scenario/cdc/protocol/pom.xml b/kernel/data-pipeline/scenario/cdc/protocol/pom.xml index 126c15664f999..4336a7aa68fb3 100644 --- a/kernel/data-pipeline/scenario/cdc/protocol/pom.xml +++ b/kernel/data-pipeline/scenario/cdc/protocol/pom.xml @@ -46,7 +46,7 @@ ${project.basedir}/src/main/resources - com.google.protobuf:protoc:${protobuf-java.version}:exe:${os.detected.classifier} + com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} diff --git a/pom.xml b/pom.xml index 6a1e4845de06d..78bccfc53495d 100644 --- a/pom.xml +++ b/pom.xml @@ -87,15 +87,16 @@ 1.35.0 2.9.3 - 4.1.100.Final 1.70 1.1 + 4.1.99.Final 3.9.0 5.5.0 0.7.6 1.58.0 + 3.21.12 3.0.4 @@ -120,8 +121,6 @@ 4.11.0 4.2.0 - 3.21.12 - 0.6.1 1.4.13 @@ -290,6 +289,12 @@ ${immutables.version} provided + + javax.transaction + jta + ${javax.transaction.version} + + io.netty netty-bom @@ -297,12 +302,6 @@ pom import - - javax.transaction - jta - ${javax.transaction.version} - - org.apache.zookeeper zookeeper @@ -346,28 +345,23 @@ io.grpc - grpc-core - ${grpc.version} - - - io.grpc - grpc-netty - ${grpc.version} - - - io.grpc - grpc-protobuf - ${grpc.version} - - - io.grpc - grpc-stub + grpc-bom ${grpc.version} + pom + import - io.grpc - grpc-grpclb - ${grpc.version} + com.google.protobuf + protobuf-bom + ${protobuf.version} + pom + import + + + com.google.j2objc + j2objc-annotations + + @@ -409,23 +403,6 @@ ${slf4j.version} - - com.google.protobuf - protobuf-java - ${protobuf-java.version} - - - com.google.protobuf - protobuf-java-util - ${protobuf-java.version} - - - com.google.j2objc - j2objc-annotations - - - - org.projectlombok lombok