Skip to content

Commit

Permalink
Update maven task to version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dotasek committed Aug 29, 2024
1 parent d670fa5 commit 0f6e89c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions master-branch-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion pull-request-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pool:
vmImage: ubuntu-latest

steps:
- task: Maven@3
- task: Maven@4
inputs:
mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx3072m'
Expand Down
4 changes: 2 additions & 2 deletions release-branch-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -124,4 +124,4 @@ steps:
- task: PublishBuildArtifacts@1
displayName: 'Publish Build Artifacts'
inputs:
PathtoPublish: '$(build.artifactstagingdirectory)'
PathtoPublish: '$(build.artifactstagingdirectory)'

0 comments on commit 0f6e89c

Please sign in to comment.