@@ -65,6 +65,9 @@ stages:
6565 displayName : ' Download Signed Artifacts'
6666 artifact : packages-signed
6767
68+ # Setup Maven mirror settings and authenticate with Azure Artifacts
69+ - template : /eng/pipelines/templates/steps/maven-authenticate.yml
70+
6871 # gpg-sign and create the flattened directory for ESRP bulk publish
6972 # Note: The maven release requires the files to be local GPG signed
7073 # Dev feed publishes use the gpg-sign-and-deply to do it in one step
@@ -260,6 +263,7 @@ stages:
260263 - download : current
261264 displayName : ' Download Artifacts'
262265 artifact : packages-signed
266+ - template : /eng/pipelines/templates/steps/maven-authenticate.yml
263267 - template : tools/gpg/gpg.yml@azure-sdk-build-tools
264268
265269 - ${{ if ne(parameters.PublicFeedUrl, 'maven.org') }} :
@@ -364,6 +368,11 @@ stages:
364368
365369 - template : /eng/pipelines/templates/steps/mvn-linux-repository-settings.yml
366370
371+ - task : MavenAuthenticate@0
372+ displayName : ' Maven Authenticate'
373+ inputs :
374+ artifactsFeeds : ' azure-sdk-for-java'
375+
367376 - template : /eng/pipelines/templates/steps/install-rex-validation-tool.yml
368377
369378 - template : /eng/common/pipelines/templates/steps/update-docsms-metadata.yml
@@ -453,6 +462,7 @@ stages:
453462
454463 displayName: Setup TargetFeed
455464
465+ - template : /eng/pipelines/templates/steps/maven-authenticate.yml
456466 - template : tools/gpg/gpg.yml@azure-sdk-build-tools
457467
458468 - ${{ each artifact in parameters.Artifacts }} :
@@ -485,6 +495,11 @@ stages:
485495
486496 - template : /eng/pipelines/templates/steps/mvn-linux-repository-settings.yml
487497
498+ - task : MavenAuthenticate@0
499+ displayName : ' Maven Authenticate'
500+ inputs :
501+ artifactsFeeds : ' azure-sdk-for-java'
502+
488503 - template : /eng/pipelines/templates/steps/install-rex-validation-tool.yml
489504
490505 - template : /eng/common/pipelines/templates/steps/update-docsms-metadata.yml
0 commit comments