Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment maven task version to 4 in pipelines #950

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build-and-test-jobs-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
# Runs 'mvn install'
- task: Maven@3
- task: Maven@4
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
Expand All @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions master-branch-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand All @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions release-branch-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
Loading