Skip to content

Updated maven pkg feed to azure artifacts feed#48817

Draft
raych1 wants to merge 1 commit intomainfrom
users/raych1/update-maven-pkg-feed
Draft

Updated maven pkg feed to azure artifacts feed#48817
raych1 wants to merge 1 commit intomainfrom
users/raych1/update-maven-pkg-feed

Conversation

@raych1
Copy link
Copy Markdown
Member

@raych1 raych1 commented Apr 15, 2026

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_ACCESSTOKEN environment 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_ACCESSTOKEN in 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 the SYSTEM_ACCESSTOKEN environment variable to script steps that interact with package feeds.

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.

1 participant