Skip to content

build: modernize utility Maven plugins for offline mirror compatibility#403

Merged
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:modernize-utility-plugins
Jul 11, 2026
Merged

build: modernize utility Maven plugins for offline mirror compatibility#403
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:modernize-utility-plugins

Conversation

@AnshulPatni

Copy link
Copy Markdown
Contributor

When packaging test dependencies during build validation (e.g., invoker/testfunction), Maven executed maven-dependency-plugin:2.8 (from 2013). This legacy version relies on deprecated transitive artifacts (commons-cli:1.0 from 2002) that are unavailable in offline package mirrors.

While our previous modernization covered all 8 core lifecycle plugins, this PR extends root pluginManagement to define modern, vetted versions for all remaining utility and specialized plugins (dependency:3.6.1, shade:3.5.3, plugin:3.10.2, and release:3.0.1). All specified versions and their parent POM trees have been audited to guarantee 100% compatibility with offline package mirrors during automated release builds.

Change-Id: I334041630dff058d6460e5399f654867edb85599
@AnshulPatni AnshulPatni merged commit 1f735f1 into GoogleCloudPlatform:main Jul 11, 2026
26 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