Authentication does NOT happen automatically ! You MUST have 'mavenFeedAuthenticate: true' option set in your Maven task definition inside azure-pipelines.yml. It is 'false' by deafult - check Maven task on GitHub
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
I agree, this is a lot of extra work for what can be accomplished by adding 'mavenFeedAuthenticate: true' to the default Azure DevOps Pipeline Maven build.
These steps are needed to connect a local Maven install to the Azure DevOps Artifacts Maven feed, but not for pipeline builds.
@vvoinov Thank you for your feedback. The updated article will go live shortly.
Most helpful comment
I agree, this is a lot of extra work for what can be accomplished by adding 'mavenFeedAuthenticate: true' to the default Azure DevOps Pipeline Maven build.
These steps are needed to connect a local Maven install to the Azure DevOps Artifacts Maven feed, but not for pipeline builds.