From 1f9cc1deac60ce71b4f6c94eeb1188487df7c132 Mon Sep 17 00:00:00 2001 From: dotasek Date: Thu, 29 Aug 2024 11:48:12 -0400 Subject: [PATCH] Increment maven task version to 4 in pipelines --- build-and-test-jobs-template.yml | 4 ++-- master-branch-pipeline.yml | 6 +++--- release-branch-pipeline.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build-and-test-jobs-template.yml b/build-and-test-jobs-template.yml index d33903f7..1b5aaa94 100644 --- a/build-and-test-jobs-template.yml +++ b/build-and-test-jobs-template.yml @@ -14,7 +14,7 @@ jobs: steps: # Runs 'mvn install' - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' @@ -26,7 +26,7 @@ jobs: goals: 'install' # Runs 'mvn exec to test that cli runs' - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' diff --git a/master-branch-pipeline.yml b/master-branch-pipeline.yml index d5789c00..81c20784 100644 --- a/master-branch-pipeline.yml +++ b/master-branch-pipeline.yml @@ -60,7 +60,7 @@ jobs: displayName: 'Create .mvn/settings.xml' # Runs 'mvn package' - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m' @@ -95,7 +95,7 @@ jobs: # 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' @@ -105,7 +105,7 @@ jobs: # 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/release-branch-pipeline.yml b/release-branch-pipeline.yml index f758931d..d75987d4 100644 --- a/release-branch-pipeline.yml +++ b/release-branch-pipeline.yml @@ -24,7 +24,7 @@ steps: fi # This task checks to ensure there are no snapshot dependencies in the project - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' options: '-DcheckForSnapshotDependencies' @@ -85,7 +85,7 @@ steps: displayName: 'Create .mvn/settings.xml' # Runs 'mvn package' - - task: Maven@3 + - task: Maven@4 inputs: mavenPomFile: 'pom.xml' mavenOptions: '-Xmx3072m'