Skip to content

build: Override central-publishing-maven-plugin guava dependency to 33.5.0-jre#392

Merged
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:fix-guava-airlock-mirror
Jul 8, 2026
Merged

build: Override central-publishing-maven-plugin guava dependency to 33.5.0-jre#392
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:fix-guava-airlock-mirror

Conversation

@AnshulPatni

Copy link
Copy Markdown
Contributor

When running in secure build environments or behind private package mirrors, older transitive dependencies of central-publishing-maven-plugin (guava:32.1.0-jre) may fail to resolve or be unavailable.

This explicitly overrides the plugin's transitive dependency to use guava:33.5.0-jre (which is already vetted and used by the project), ensuring reliable dependency resolution across all build environments.

…3.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
@AnshulPatni AnshulPatni requested a review from taeold July 8, 2026 20:57
@AnshulPatni AnshulPatni merged commit 4c5a197 into GoogleCloudPlatform:main Jul 8, 2026
27 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants