From 0f6e89cf75db6e45812c23b64c7d85061d003f25 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 29 Aug 2024 11:59:14 -0400 Subject: [PATCH] Update maven task to version 4 --- master-branch-pipeline.yml | 6 +++--- pull-request-pipeline.yml | 2 +- release-branch-pipeline.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/master-branch-pipeline.yml b/master-branch-pipeline.yml index abd33c3..500f78e 100644 --- a/master-branch-pipeline.yml +++ b/master-branch-pipeline.yml @@ -54,7 +54,7 @@ steps: displayName: 'Create .mvn/settings.xml' # Runs 'mvn package' - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' @@ -89,7 +89,7 @@ steps: # Deploy the SNAPSHOT artifact to sonatype nexus. # This is done for the master branch merges only. - - task: Maven@3 + - task: Maven@4 displayName: 'Deploy to Sonatype staging' inputs: mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml' @@ -99,7 +99,7 @@ steps: # Deploy the SNAPSHOT artifact to GitHub packages. # This is done for the master branch merges only. - - task: Maven@3 + - task: Maven@4 displayName: 'Deploy to GitHub Packages' inputs: mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml' diff --git a/pull-request-pipeline.yml b/pull-request-pipeline.yml index 8d15ffe..4b1db25 100644 --- a/pull-request-pipeline.yml +++ b/pull-request-pipeline.yml @@ -7,7 +7,7 @@ pool: vmImage: ubuntu-latest steps: -- task: Maven@3 +- task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' diff --git a/release-branch-pipeline.yml b/release-branch-pipeline.yml index 316057a..5585f4c 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -75,7 +75,7 @@ steps: displayName: 'Create .mvn/settings.xml' # Runs 'mvn package' - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' @@ -124,4 +124,4 @@ steps: - task: PublishBuildArtifacts@1 displayName: 'Publish Build Artifacts' inputs: - PathtoPublish: '$(build.artifactstagingdirectory)' \ No newline at end of file + PathtoPublish: '$(build.artifactstagingdirectory)'