Packaging all SNAPSHOTS at once, instead of iterating through individual pom files

This commit is contained in:
markiantorno 2020-06-03 11:19:57 -04:00
parent a74b604ca3
commit 38e2afbf25
2 changed files with 12 additions and 33 deletions

View File

@ -7,24 +7,6 @@ trigger:
pr: none
strategy:
matrix:
dstu2:
module: "org.hl7.fhir.dstu2"
dstu3:
module: "org.hl7.fhir.dstu3"
dstu2016may:
module: "org.hl7.fhir.dstu2016may"
r4:
module: "org.hl7.fhir.r4"
r5:
module: "org.hl7.fhir.r5"
validator:
module: "org.hl7.fhir.validation"
validator_cli:
module: "org.hl7.fhir.validation.cli"
maxParallel: 3
pool:
vmImage: "ubuntu-16.04"
@ -32,9 +14,6 @@ variables:
currentModule: $(module)
steps:
# Debugging output to identify current module.
- bash: echo Publishing SNAPSHOT for $(module)
displayName: 'Print module name.'
# Signing, for now, occurs for all builds, SNAPSHOT or release. So we need a valid
# signing key. The next two steps download the public and private keys from the
@ -104,9 +83,9 @@ steps:
# Deploy the SNAPSHOT artifact to sonatype nexus.
# This is done for the master branch merges only.
- task: Maven@3
displayName: 'Deploy $(module) to Sonatype staging'
displayName: 'Deploying SNAPSHOTS to Sonatype staging'
inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/$(module)/pom.xml'
mavenPomFile: '$(System.DefaultWorkingDirectory)/pom.xml'
goals: clean deploy
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml -X'
publishJUnitResults: false

View File

@ -19,16 +19,16 @@
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>ca.uhn.hapi.fhir</groupId>-->
<!-- <artifactId>hapi-fhir-base</artifactId>-->
<!-- <exclusions>-->
<!-- <exclusion>-->
<!-- <groupId>ca.uhn.hapi.fhir</groupId>-->
<!-- <artifactId>hapi-fhir-utilities</artifactId>-->
<!-- </exclusion>-->
<!-- </exclusions>-->
<!-- </dependency>-->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
<exclusions>
<exclusion>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-utilities</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- UCUM -->
<dependency>