build: set maven-enforcer-plugin to 3.5.0 for offline mirror compatibility#399
Merged
AnshulPatni merged 1 commit intoJul 9, 2026
Merged
Conversation
…ility Change-Id: I3f5adcb7864d39e2f3c2bc5de148936f6e0e248c
08589eb to
ac8f965
Compare
taeold
approved these changes
Jul 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
During automated release builds in secure, offline environments, Maven failed with a transitive dependency resolution error:
Could not find artifact org.apache.maven:maven-parent:pom:48 in mirrorIn secure release pipelines, all Maven dependencies must be resolved through an internal vetted package mirror. While
maven-enforcer-plugin:3.6.3exists in the mirror, its parent POM (org.apache.maven:maven-parent:48) is currently unavailable in the offline cache.An audit of our package mirror confirmed that
org.apache.maven:maven-parent:42is fully cached and available. By settingmaven-enforcer-pluginto3.5.0(the highest modern version that inherits frommaven-parent:42), we maintain a modern Enforcer plugin while guaranteeing 100% offline mirror compatibility during automated release builds.