From 73c73c3aa29fdc32a55d74bbe30e8289f15f5ae4 Mon Sep 17 00:00:00 2001 From: Blake Li Date: Fri, 9 Dec 2022 00:22:02 -0500 Subject: [PATCH 1/2] chore: Explicitly declare dependencies instead of using shared-dependencies-bom --- gapic-generator-java/pom.xml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml index 9cee0d5c03..1bb277e782 100644 --- a/gapic-generator-java/pom.xml +++ b/gapic-generator-java/pom.xml @@ -13,14 +13,24 @@ .. ../src/main/java,pom.xml ../target/sonar + 2.20.1 + 1.51.0 + 3.21.10 - com.google.cloud - google-cloud-shared-dependencies - 3.0.6 + com.google.api + gax-bom + ${gax.version} + pom + import + + + io.grpc + grpc-bom + ${grpc.version} pom import @@ -189,7 +199,7 @@ protobuf-maven-plugin 0.6.1 - com.google.protobuf:protoc:3.21.7:exe:${os.detected.classifier} + com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier} @@ -306,6 +316,7 @@ com.google.guava guava + 31.1-jre com.google.api @@ -341,6 +352,7 @@ com.google.protobuf protobuf-java-util + ${protobuf.version} io.grpc @@ -373,6 +385,7 @@ javax.annotation javax.annotation-api + 1.3.2 From d865d62dfe0845048f12de6bbc6a9a3a756be07b Mon Sep 17 00:00:00 2001 From: Blake Li Date: Fri, 9 Dec 2022 00:31:50 -0500 Subject: [PATCH 2/2] update pom.xml --- gapic-generator-java/pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gapic-generator-java/pom.xml b/gapic-generator-java/pom.xml index 1bb277e782..545e81df16 100644 --- a/gapic-generator-java/pom.xml +++ b/gapic-generator-java/pom.xml @@ -16,6 +16,7 @@ 2.20.1 1.51.0 3.21.10 + 1.10.1 @@ -66,7 +67,7 @@ com.google.auto.value auto-value - 1.10.1 + ${auto-value.version} @@ -348,6 +349,7 @@ com.google.auto.value auto-value-annotations + ${auto-value.version} com.google.protobuf