This commit is contained in:
Grahame Grieve 2020-06-04 10:37:37 +10:00
commit f90d456ddc
6 changed files with 46 additions and 35 deletions

View File

@ -21,7 +21,9 @@ strategy:
module: "org.hl7.fhir.r5" module: "org.hl7.fhir.r5"
validator: validator:
module: "org.hl7.fhir.validation" module: "org.hl7.fhir.validation"
maxParallel: 3 validator_cli:
module: "org.hl7.fhir.validation.cli"
maxParallel: 8
pool: pool:
vmImage: "ubuntu-16.04" vmImage: "ubuntu-16.04"
@ -105,6 +107,15 @@ steps:
displayName: 'Deploy $(module) to Sonatype staging' displayName: 'Deploy $(module) to Sonatype staging'
inputs: inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/$(module)/pom.xml' mavenPomFile: '$(System.DefaultWorkingDirectory)/$(module)/pom.xml'
goals: deploy goals: clean deploy
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml ' options: '--settings $(System.DefaultWorkingDirectory)/settings.xml'
publishJUnitResults: false
# Clean any existing deployment artifacts
- task: Maven@3
displayName: 'Clean any existing deploy artifacts.'
inputs:
mavenPomFile: '$(System.DefaultWorkingDirectory)/$(module)/pom.xml'
goals: clean
options: '--settings $(System.DefaultWorkingDirectory)/settings.xml'
publishJUnitResults: false publishJUnitResults: false

View File

@ -13,12 +13,13 @@
<packaging>bundle</packaging> <packaging>bundle</packaging>
<dependencies> <dependencies>
<!-- HAPI Dependencies --> <!-- HAPI Dependencies -->
<dependency> <dependency>
<groupId>ca.uhn.hapi.fhir</groupId> <groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId> <artifactId>org.hl7.fhir.utilities</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>ca.uhn.hapi.fhir</groupId> <groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId> <artifactId>hapi-fhir-base</artifactId>

View File

@ -12,7 +12,6 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>org.hl7.fhir.report</artifactId> <artifactId>org.hl7.fhir.report</artifactId>
<packaging>bundle</packaging> <packaging>bundle</packaging>
<properties> <properties>

View File

@ -13,7 +13,6 @@
<packaging>bundle</packaging> <packaging>bundle</packaging>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>ca.uhn.hapi.fhir</groupId> <groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId> <artifactId>hapi-fhir-base</artifactId>

View File

@ -23,9 +23,11 @@
<groupId>ca.uhn.hapi.fhir</groupId> <groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId> <artifactId>hapi-fhir-base</artifactId>
</dependency> </dependency>
<dependency> <dependency>
<groupId>ca.uhn.hapi.fhir</groupId> <groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>org.hl7.fhir.utilities</artifactId> <artifactId>org.hl7.fhir.utilities</artifactId>
<version>${project.version}</version>
</dependency> </dependency>
<!-- FHIR Versions --> <!-- FHIR Versions -->

33
pom.xml
View File

@ -17,7 +17,7 @@
<properties> <properties>
<hapi_fhir_version>5.0.0</hapi_fhir_version> <hapi_fhir_version>5.0.0</hapi_fhir_version>
<validator_test_case_version>1.1.18-SNAPSHOT</validator_test_case_version> <validator_test_case_version>1.1.18</validator_test_case_version>
<junit_jupiter_version>5.6.2</junit_jupiter_version> <junit_jupiter_version>5.6.2</junit_jupiter_version>
<maven_surefire_version>3.0.0-M4</maven_surefire_version> <maven_surefire_version>3.0.0-M4</maven_surefire_version>
<jacoco_version>0.8.5</jacoco_version> <jacoco_version>0.8.5</jacoco_version>
@ -33,6 +33,20 @@
<url>http://hl7.org</url> <url>http://hl7.org</url>
</organization> </organization>
<modules>
<module>org.hl7.fhir.utilities</module>
<module>org.hl7.fhir.dstu2</module>
<module>org.hl7.fhir.dstu2016may</module>
<module>org.hl7.fhir.dstu3</module>
<module>org.hl7.fhir.r4</module>
<module>org.hl7.fhir.r5</module>
<module>org.hl7.fhir.convertors</module>
<module>org.hl7.fhir.validation</module>
<module>org.hl7.fhir.validation.cli</module>
<!-- The report project exists only to aggregate the test results from the other projects into a central report. -->
<module>org.hl7.fhir.report</module>
</modules>
<repositories> <repositories>
<repository> <repository>
<snapshots> <snapshots>
@ -122,21 +136,6 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<modules>
<module>org.hl7.fhir.utilities</module>
<module>org.hl7.fhir.dstu2</module>
<module>org.hl7.fhir.dstu2016may</module>
<module>org.hl7.fhir.dstu3</module>
<module>org.hl7.fhir.r4</module>
<module>org.hl7.fhir.r5</module>
<module>org.hl7.fhir.convertors</module>
<module>org.hl7.fhir.validation</module>
<module>org.hl7.fhir.validation.cli</module>
<!-- The report project exists only to aggregate the test results from the other projects into a central report. -->
<module>org.hl7.fhir.report</module>
</modules>
<build> <build>
<plugins> <plugins>
<plugin> <plugin>
@ -148,7 +147,7 @@
<target>1.8</target> <target>1.8</target>
<forceJavacCompilerUse>false</forceJavacCompilerUse> <forceJavacCompilerUse>false</forceJavacCompilerUse>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
<fork>true</fork> <fork>false</fork>
<meminitial>512m</meminitial> <meminitial>512m</meminitial>
<maxmem>4000m</maxmem> <maxmem>4000m</maxmem>
<debug>true</debug> <debug>true</debug>