build: set maven-install-plugin to 3.1.2 for offline mirror compatibility#400
Open
AnshulPatni wants to merge 1 commit into
Open
build: set maven-install-plugin to 3.1.2 for offline mirror compatibility#400AnshulPatni wants to merge 1 commit into
AnshulPatni wants to merge 1 commit into
Conversation
…tibility Change-Id: I3465574727c1f70aa500941fb08a85ca708963bb
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.codehaus.plexus:plexus-components:pom:1.1.7 in mirrorWhen building against Sonatype's
oss-parent:9, default lifecycle bindings executemaven-install-plugin:2.4(from 2012), which depends on deprecated Plexus artifacts that are unavailable in offline package mirrors.An audit of our package mirror confirmed that
maven-install-plugin:3.1.2(and its parent POM tree) is fully cached and available. By explicitly defining version3.1.2in rootpluginManagement, we resolve the missing artifact error while keeping changes minimal and surgical.