Update azure maven tasks to version 4 (#1726)

* Update azure maven tasks to version 4

* Increase compiler memory

* Increment compiler version
This commit is contained in:
dotasek 2024-08-29 11:39:47 -04:00 committed by GitHub
parent 19c8b17575
commit 75fc9a8b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 11 additions and 11 deletions

View File

@ -82,7 +82,7 @@ jobs:
# Deploy the SNAPSHOT artifact to sonatype nexus. # Deploy the SNAPSHOT artifact to sonatype nexus.
# This is done for the master branch merges only. # This is done for the master branch merges only.
- task: Maven@3 - task: Maven@4
displayName: 'Deploy to Sonatype staging' displayName: 'Deploy to Sonatype staging'
inputs: inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml' mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
@ -115,7 +115,7 @@ jobs:
# Deploy the SNAPSHOT artifact to GitHub packages. # Deploy the SNAPSHOT artifact to GitHub packages.
# This is done for the master branch merges only. # This is done for the master branch merges only.
- task: Maven@3 - task: Maven@4
displayName: 'Deploy to GitHub packages' displayName: 'Deploy to GitHub packages'
inputs: inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml' mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
@ -164,7 +164,7 @@ jobs:
pip3 install pandas pip3 install pandas
displayName: 'Set up python packages' displayName: 'Set up python packages'
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml' mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -pl org.hl7.fhir.utilities ' options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -pl org.hl7.fhir.utilities '

View File

@ -418,7 +418,7 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version> <version>3.13.0</version>
<configuration> <configuration>
<release>11</release> <release>11</release>
@ -428,7 +428,7 @@
while if true it will use an executable. --> while if true it will use an executable. -->
<fork>true</fork> <fork>true</fork>
<meminitial>512m</meminitial> <meminitial>512m</meminitial>
<maxmem>4000m</maxmem> <maxmem>5632m</maxmem>
<debug>true</debug> <debug>true</debug>
</configuration> </configuration>
<executions> <executions>

View File

@ -154,7 +154,7 @@ jobs:
sourceFolder: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.${{ module }}_target/' sourceFolder: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.${{ module }}_target/'
contents: '**' contents: '**'
targetFolder: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.${{ module }}/target/' targetFolder: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.${{ module }}/target/'
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
options: '-P JACOCO' options: '-P JACOCO'

View File

@ -13,7 +13,7 @@ jobs:
- job: check_all_dependencies_are_releases - job: check_all_dependencies_are_releases
timeoutInMinutes: 5 timeoutInMinutes: 5
steps: steps:
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
options: '-DcheckForSnapshotDependencies' options: '-DcheckForSnapshotDependencies'
@ -136,7 +136,7 @@ jobs:
version_from_pom: $[ dependencies.get_release_version.outputs['setOutput.version_from_pom'] ] version_from_pom: $[ dependencies.get_release_version.outputs['setOutput.version_from_pom'] ]
steps: steps:
# Runs 'mvn clean package' # Runs 'mvn clean package'
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon' mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon'

View File

@ -21,7 +21,7 @@ jobs:
script: mkdir -p $(MAVEN_CACHE_FOLDER); pwd; ls -al $(MAVEN_CACHE_FOLDER) script: mkdir -p $(MAVEN_CACHE_FOLDER); pwd; ls -al $(MAVEN_CACHE_FOLDER)
- ${{ if eq(parameters.signArtifacts, true) }}: - ${{ if eq(parameters.signArtifacts, true) }}:
- template: setup-signing-tasks-template.yml - template: setup-signing-tasks-template.yml
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
${{ if eq(parameters.signArtifacts, true) }}: ${{ if eq(parameters.signArtifacts, true) }}:

View File

@ -19,7 +19,7 @@ jobs:
modules: modules:
- org.hl7.fhir.validation.cli - org.hl7.fhir.validation.cli
# Runs 'mvn exec' # Runs 'mvn exec'
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon' mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon'

View File

@ -24,7 +24,7 @@ jobs:
modules: modules:
- org.hl7.fhir.${{ value }} - org.hl7.fhir.${{ value }}
# Runs 'mvn install' # Runs 'mvn install'
- task: Maven@3 - task: Maven@4
inputs: inputs:
mavenPomFile: 'pom.xml' mavenPomFile: 'pom.xml'
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -pl org.hl7.fhir.${{value}} -Djacoco.skip=${{unit.skipJaCoCo}} -P JACOCO' options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -pl org.hl7.fhir.${{value}} -Djacoco.skip=${{unit.skipJaCoCo}} -P JACOCO'