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:
parent
19c8b17575
commit
75fc9a8b57
|
@ -82,7 +82,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'
|
||||
|
@ -115,7 +115,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'
|
||||
|
@ -164,7 +164,7 @@ jobs:
|
|||
pip3 install pandas
|
||||
displayName: 'Set up python packages'
|
||||
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
|
||||
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -pl org.hl7.fhir.utilities '
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -418,7 +418,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.10.1</version>
|
||||
<version>3.13.0</version>
|
||||
<configuration>
|
||||
<release>11</release>
|
||||
|
||||
|
@ -428,7 +428,7 @@
|
|||
while if true it will use an executable. -->
|
||||
<fork>true</fork>
|
||||
<meminitial>512m</meminitial>
|
||||
<maxmem>4000m</maxmem>
|
||||
<maxmem>5632m</maxmem>
|
||||
<debug>true</debug>
|
||||
</configuration>
|
||||
<executions>
|
||||
|
|
|
@ -154,7 +154,7 @@ jobs:
|
|||
sourceFolder: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.${{ module }}_target/'
|
||||
contents: '**'
|
||||
targetFolder: '$(System.DefaultWorkingDirectory)/org.hl7.fhir.${{ module }}/target/'
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
options: '-P JACOCO'
|
||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
- job: check_all_dependencies_are_releases
|
||||
timeoutInMinutes: 5
|
||||
steps:
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
options: '-DcheckForSnapshotDependencies'
|
||||
|
@ -136,7 +136,7 @@ jobs:
|
|||
version_from_pom: $[ dependencies.get_release_version.outputs['setOutput.version_from_pom'] ]
|
||||
steps:
|
||||
# Runs 'mvn clean package'
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon'
|
||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
script: mkdir -p $(MAVEN_CACHE_FOLDER); pwd; ls -al $(MAVEN_CACHE_FOLDER)
|
||||
- ${{ if eq(parameters.signArtifacts, true) }}:
|
||||
- template: setup-signing-tasks-template.yml
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
${{ if eq(parameters.signArtifacts, true) }}:
|
||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
modules:
|
||||
- org.hl7.fhir.validation.cli
|
||||
# Runs 'mvn exec'
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
mavenOptions: '-Xmx768m -Dmaven.resolver.transport=wagon'
|
||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
modules:
|
||||
- org.hl7.fhir.${{ value }}
|
||||
# Runs 'mvn install'
|
||||
- task: Maven@3
|
||||
- task: Maven@4
|
||||
inputs:
|
||||
mavenPomFile: 'pom.xml'
|
||||
options: '-Dmaven.repo.local=$(MAVEN_CACHE_FOLDER) -pl org.hl7.fhir.${{value}} -Djacoco.skip=${{unit.skipJaCoCo}} -P JACOCO'
|
||||
|
|
Loading…
Reference in New Issue