2017-08-13 14:39:47 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-deployable-pom</artifactId>
|
2020-11-18 14:52:43 -05:00
|
|
|
<version>5.3.0-SNAPSHOT</version>
|
2017-08-13 14:39:47 -04:00
|
|
|
<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>hapi-fhir-validation</artifactId>
|
2018-02-27 12:52:47 -05:00
|
|
|
<packaging>bundle</packaging>
|
2017-08-13 14:39:47 -04:00
|
|
|
|
|
|
|
<name>HAPI FHIR - Validation</name>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-base</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2019-07-14 10:16:40 -04:00
|
|
|
<artifactId>hapi-fhir-converter</artifactId>
|
2017-08-13 14:39:47 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-07-14 10:16:40 -04:00
|
|
|
|
2018-01-30 12:16:04 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2019-07-14 10:16:40 -04:00
|
|
|
<artifactId>org.hl7.fhir.validation</artifactId>
|
|
|
|
<version>${fhir_core_version}</version>
|
2020-05-11 12:37:16 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>info.cqframework</groupId>
|
|
|
|
<artifactId>elm</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>info.cqframework</groupId>
|
|
|
|
<artifactId>cql-to-elm</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>info.cqframework</groupId>
|
|
|
|
<artifactId>quick</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>info.cqframework</groupId>
|
|
|
|
<artifactId>qdm</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>info.cqframework</groupId>
|
|
|
|
<artifactId>cql</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>info.cqframework</groupId>
|
|
|
|
<artifactId>model</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.javalin</groupId>
|
|
|
|
<artifactId>javalin</artifactId>
|
|
|
|
</exclusion>
|
2020-07-04 18:28:16 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
2020-05-11 12:37:16 -04:00
|
|
|
</exclusions>
|
2018-01-30 12:16:04 -05:00
|
|
|
</dependency>
|
2020-03-17 13:28:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.utilities</artifactId>
|
|
|
|
<version>${fhir_core_version}</version>
|
|
|
|
</dependency>
|
2017-08-13 14:39:47 -04:00
|
|
|
|
2018-04-28 11:42:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
</dependency>
|
2019-08-07 15:31:59 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
</dependency>
|
2018-04-28 11:42:59 -04:00
|
|
|
|
2020-03-17 17:27:26 -04:00
|
|
|
<!--
|
|
|
|
Note: As of HAPI FHIR 5.0.0 we now use Jackson for JSON parsing, but the
|
|
|
|
validator still uses GSON so it is a dependency here
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2017-08-13 14:39:47 -04:00
|
|
|
<!--
|
|
|
|
Optional dependencies from RI codebase
|
|
|
|
-->
|
|
|
|
<!--
|
|
|
|
<dependency>
|
|
|
|
<groupId>es.nitaur.markdown</groupId>
|
|
|
|
<artifactId>txtmark</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xpp3</groupId>
|
|
|
|
<artifactId>xpp3</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Optional dependencies on the various versions of FHIR
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu2</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2019-10-24 14:09:18 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu2</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2017-08-13 14:39:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-hl7org-dstu2</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu2.1</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2019-10-24 14:09:18 -04:00
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu2.1</artifactId>
|
2017-08-13 14:39:47 -04:00
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-dstu3</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-dstu3</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-r4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r4</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
2020-08-30 10:17:15 -04:00
|
|
|
|
|
|
|
<!-- The validator and snapshot generators require R5 structures independent of which
|
|
|
|
version is being validated -->
|
2019-08-06 17:30:31 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-structures-r5</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-validation-resources-r5</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2017-08-13 14:39:47 -04:00
|
|
|
<!-- Test Deps -->
|
2020-11-27 19:49:06 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.fasterxml.woodstox</groupId>
|
|
|
|
<artifactId>woodstox-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-08-13 14:39:47 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-client</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlet</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-util</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-http</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2019-06-13 16:15:29 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-test-utilities</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-05-30 05:45:08 -04:00
|
|
|
|
|
|
|
<!-- Dependencies for Schematron -->
|
2017-08-13 14:39:47 -04:00
|
|
|
<dependency>
|
2018-05-14 17:38:40 -04:00
|
|
|
<groupId>com.helger</groupId>
|
|
|
|
<artifactId>ph-schematron</artifactId>
|
2017-08-13 14:39:47 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2018-05-30 05:45:08 -04:00
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
<artifactId>javax.activation-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2018-12-22 20:13:03 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
2019-05-09 12:51:13 -04:00
|
|
|
<scope>test</scope>
|
2017-08-13 14:39:47 -04:00
|
|
|
</dependency>
|
2018-05-30 05:45:08 -04:00
|
|
|
|
2017-09-09 23:55:00 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
2018-05-30 09:57:41 -04:00
|
|
|
|
2019-12-19 14:41:35 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2018-05-30 09:57:41 -04:00
|
|
|
|
2019-12-19 14:41:35 -05:00
|
|
|
</dependencies>
|
2017-08-13 14:39:47 -04:00
|
|
|
|
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<show>public</show>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<dumpOnExit>true</dumpOnExit>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-prepare-agent</id>
|
|
|
|
<goals>
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
2019-11-23 13:51:02 -05:00
|
|
|
<argLine>@{argLine} ${surefire_jvm_args}</argLine>
|
2017-08-13 14:39:47 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- Don't add UHN licenses to RI structures -->
|
|
|
|
<skipUpdateLicense>true</skipUpdateLicense>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<fork>true</fork>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-02-27 12:52:47 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<extensions>true</extensions>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
2020-12-18 16:48:44 -05:00
|
|
|
<_nouses>true</_nouses>
|
|
|
|
<_removeheaders>Built-By, Include-Resource, Private-Package, Require-Capability</_removeheaders>
|
|
|
|
<!-- No need to disable normal OSGi class loading
|
2018-02-27 12:52:47 -05:00
|
|
|
<Fragment-Host>
|
|
|
|
ca.uhn.hapi.fhir.hapi-fhir-base
|
|
|
|
</Fragment-Host>
|
2020-12-18 16:48:44 -05:00
|
|
|
-->
|
|
|
|
<!-- add imports for validation resource packages -->
|
|
|
|
<Import-Package>
|
|
|
|
org.hl7.fhir.instance.model.profile;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.instance.model.schema;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.instance.model.valueset;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu2016may.model.profile;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu2016may.model.schema;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu2016may.model.valueset;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu3.model.extension;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu3.model.profile;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu3.model.schema;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.dstu3.model.valueset;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r4.model.extension;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r4.model.profile;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r4.model.schema;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r4.model.valueset;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r5.model.extension;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r5.model.profile;version="${project.version}";resolution:=optional,
|
|
|
|
org.hl7.fhir.r5.model.valueset;version="${project.version}";resolution:=optional,
|
|
|
|
*
|
|
|
|
</Import-Package>
|
2018-02-27 12:52:47 -05:00
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2017-08-13 14:39:47 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|