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)'