From c32e828fc5e15c951779b470316191df2a58ef47 Mon Sep 17 00:00:00 2001 From: Mridula Peddada Date: Mon, 29 Aug 2022 17:11:02 -0400 Subject: [PATCH 1/2] fix(java): exclude unused dependencies from gax-grpc --- google-cloud-compute/pom.xml | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/google-cloud-compute/pom.xml b/google-cloud-compute/pom.xml index e08a587ea..0281ee276 100644 --- a/google-cloud-compute/pom.xml +++ b/google-cloud-compute/pom.xml @@ -41,6 +41,60 @@ com.google.api gax-grpc + + + com.google.api + api-common + + + com.google.api + api-common + + + com.google.api.grpc + proto-google-common-protos + + + com.google.auth + google-auth-library-credentials + + + com.google.guava + guava + + + io.grpc + grpc-api + + + org.threeten + threetenbp + + + com.google.auth + google-auth-library-oauth2-http + + + io.grpc + grpc-alts + + + io.grpc + grpc-auth + + + io.grpc + grpc-protobuf + + + io.grpc + grpc-stub + + + io.grpc + grpc-netty-shaded + + From d1878f0f180b18fc22772f97985803cba95fb443 Mon Sep 17 00:00:00 2001 From: Mridula Peddada Date: Tue, 30 Aug 2022 01:25:30 -0400 Subject: [PATCH 2/2] add comment --- google-cloud-compute/pom.xml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/google-cloud-compute/pom.xml b/google-cloud-compute/pom.xml index 0281ee276..79d79b9fa 100644 --- a/google-cloud-compute/pom.xml +++ b/google-cloud-compute/pom.xml @@ -37,7 +37,8 @@ + for native image compilation. Excluding gax-grpc dependencies since they are not + needed for standard Java and native-image users. --> com.google.api gax-grpc @@ -94,6 +95,14 @@ io.grpc grpc-netty-shaded + + io.grpc + grpc-googleapis + + + com.google.code.findbugs + jsr305 +