From 6a6a38a055e5116315628c94785c563cb17d1f39 Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Fri, 30 Aug 2024 20:52:33 -0400 Subject: [PATCH 1/2] chore: fix dependencies in java-dataproc This PR fixes java-dataproc by changing its `gprc-google-iam-v1` to test-scoped. This however brings a compilation error because the proto classes transitively brought by the mentioned dependency are not available anymore. This is fixed by additionally bringing the `proto-google-iam-v1` as compile-scoped. More context in https://www.techradar.com/news/audio/portable-audio/best-noise-cancelling-headphones-1280490#section-the-best-premium-noise-cancelling-headphones --- java-dataproc/google-cloud-dataproc/pom.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/java-dataproc/google-cloud-dataproc/pom.xml b/java-dataproc/google-cloud-dataproc/pom.xml index bd692f1b25ca..14cf63a02929 100644 --- a/java-dataproc/google-cloud-dataproc/pom.xml +++ b/java-dataproc/google-cloud-dataproc/pom.xml @@ -49,9 +49,14 @@ com.google.guava guava + + com.google.api.grpc + proto-google-iam-v1 + com.google.api.grpc grpc-google-iam-v1 + test com.google.api From ae72efaf50dc9337d74312a5503bc892ee53db2c Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Tue, 3 Sep 2024 16:30:40 -0400 Subject: [PATCH 2/2] Update pom.xml --- java-dataproc/google-cloud-dataproc/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-dataproc/google-cloud-dataproc/pom.xml b/java-dataproc/google-cloud-dataproc/pom.xml index 14cf63a02929..2d888de53227 100644 --- a/java-dataproc/google-cloud-dataproc/pom.xml +++ b/java-dataproc/google-cloud-dataproc/pom.xml @@ -56,7 +56,7 @@ com.google.api.grpc grpc-google-iam-v1 - test + test com.google.api