Updated maven pkg feed to azure artifacts feed#48817
Draft
Conversation
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.
This pull request updates several scripts and pipeline files by switching from public Maven Central endpoints to Azure Artifacts feeds. It also ensures that authentication is handled correctly by passing the
SYSTEM_ACCESSTOKENenvironment variable where required.Updated scripts (
bomhelpers.ps1,patchhelpers.ps1) to use$PackageRepositoryUri(Azure Artifacts feed) instead of the public Maven Central endpoint for downloading Maven metadata and POM files, due to network restrictions on build agents.Removed support for SonaType Nexus feeds in
MavenPackaging.ps1, restricting supported repositories to Azure Artifacts feeds.Added logic to include the
SYSTEM_ACCESSTOKENin HTTP headers for requests to Azure Artifacts feeds in relevant scripts, ensuring authenticated access.Updated pipeline YAML files (
bompreparation.yml,patch-release-prepare.yml) to pass theSYSTEM_ACCESSTOKENenvironment variable to script steps that interact with package feeds.