From dd1e581f7fafffe3d9421b1b13127d0d1c65f7ee Mon Sep 17 00:00:00 2001 From: Anshul Patni Date: Wed, 8 Jul 2026 20:00:33 +0000 Subject: [PATCH] build: override central-publishing-maven-plugin guava dependency to 33.5.0-jre In Google's Airlock / BCID L2 environment (maven-3p-trusted), older 32.x versions of Guava are not cached or mirrored. When central-publishing-maven-plugin:0.10.0 runs during release builds, Maven fails to resolve its transitive dependency on guava:32.1.0-jre. This overrides the plugin dependency to use guava:33.5.0-jre (which is already used by the project and available in Airlock). Change-Id: I74139da32a803ec4fbeda3ff893e615b606cb5e7 --- function-maven-plugin/pom.xml | 7 +++++++ functions-framework-api/pom.xml | 7 +++++++ invoker/pom.xml | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/function-maven-plugin/pom.xml b/function-maven-plugin/pom.xml index 6dca952c..e4dfc764 100644 --- a/function-maven-plugin/pom.xml +++ b/function-maven-plugin/pom.xml @@ -170,6 +170,13 @@ sonatype-central-portal https://central.sonatype.com/repository/maven-snapshots/ + + + com.google.guava + guava + 33.5.0-jre + + diff --git a/functions-framework-api/pom.xml b/functions-framework-api/pom.xml index 250d5c2b..73ec0f37 100644 --- a/functions-framework-api/pom.xml +++ b/functions-framework-api/pom.xml @@ -203,6 +203,13 @@ sonatype-central-portal https://central.sonatype.com/repository/maven-snapshots/ + + + com.google.guava + guava + 33.5.0-jre + + diff --git a/invoker/pom.xml b/invoker/pom.xml index 33cf5383..6bb777a4 100644 --- a/invoker/pom.xml +++ b/invoker/pom.xml @@ -136,6 +136,13 @@ sonatype-central-portal https://central.sonatype.com/repository/maven-snapshots/ + + + com.google.guava + guava + 33.5.0-jre + +