Skip to content

build: modernize all core lifecycle plugins for offline mirror compatibility#401

Merged
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:modernize-all-lifecycle-plugins
Jul 10, 2026
Merged

build: modernize all core lifecycle plugins for offline mirror compatibility#401
AnshulPatni merged 1 commit into
GoogleCloudPlatform:mainfrom
AnshulPatni:modernize-all-lifecycle-plugins

Conversation

@AnshulPatni

Copy link
Copy Markdown
Contributor

When building against Sonatype's oss-parent:9, default lifecycle bindings execute legacy plugin versions from 2012–2014 (such as maven-install-plugin:2.4 and maven-resources-plugin:2.6). These legacy plugins depend on deprecated transitive artifacts (plexus-components, spice-parent) that are unavailable in offline package mirrors.

This PR defines modern, vetted versions for all 8 core lifecycle plugins (enforcer, install, deploy, clean, resources, compiler, surefire, and jar) in root pluginManagement. All specified versions and their parent POM chains have been audited to guarantee 100% compatibility with offline package mirrors during automated release builds.

…ibility

Change-Id: I6ebc691b30eb5572e2280178411bd9aed3d0d4cc
@AnshulPatni AnshulPatni merged commit 46c6f48 into GoogleCloudPlatform:main Jul 10, 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