2019-01-31 15:51:34 -05: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>org.hl7.fhir.core</artifactId>
|
2023-08-22 13:26:57 -04:00
|
|
|
<version>6.1.1-SNAPSHOT</version>
|
2019-01-31 15:51:34 -05:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>org.hl7.fhir.validation.cli</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
2023-04-27 18:11:25 -04:00
|
|
|
<properties>
|
|
|
|
<checkstyle_config_location>${project.parent.basedir}</checkstyle_config_location>
|
|
|
|
</properties>
|
|
|
|
|
2019-01-31 15:51:34 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.validation</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
2019-01-31 16:01:00 -05:00
|
|
|
|
2022-06-14 17:04:00 -04:00
|
|
|
<!-- JUnit Jupiter -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.bytebuddy</groupId>
|
|
|
|
<artifactId>byte-buddy</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<!-- shoo!
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
<version>${junit_jupiter_version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
-->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.platform</groupId>
|
|
|
|
<artifactId>junit-platform-launcher</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.13.2</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- org.hl7.fhir.core test-jars -->
|
|
|
|
<!--
|
|
|
|
These jars contain the test code for running unit tests at runtime.
|
|
|
|
Any modules that are intended to be run via the validator -run-tests
|
|
|
|
option need to be included here.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hl7.fhir.testcases</groupId>
|
|
|
|
<artifactId>fhir-test-cases</artifactId>
|
|
|
|
<version>${validator_test_case_version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.utilities</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.convertors</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.dstu2</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.dstu3</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.dstu2016may</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.r4</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.r4b</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.r5</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>org.hl7.fhir.validation</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- /org.hl7.fhir.core test-jars -->
|
|
|
|
|
|
|
|
<!-- org.hl7.fhir.core test-jar dependencies -->
|
|
|
|
<!--
|
|
|
|
If the included org.hl7.fhir.xxx test jars have dependencies, they
|
|
|
|
will have a <scope>test</scope> entry. This will prevent them from
|
|
|
|
being included in regular runtime, so we override this with a
|
|
|
|
duplicate entry below with <scope>compile<scope/>
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
<version>${mockito_version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
|
|
<version>${mockito_version}</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
|
|
<artifactId>commonmark</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
|
|
<artifactId>commonmark-ext-gfm-tables</artifactId>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi</artifactId>
|
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
2023-06-08 10:47:37 -04:00
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
<artifactId>poi-ooxml-full</artifactId>
|
2022-06-14 17:04:00 -04:00
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-08-15 11:27:50 -04:00
|
|
|
<!--
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.thymeleaf</groupId>
|
|
|
|
<artifactId>thymeleaf</artifactId>
|
|
|
|
<version>3.1.2.RELEASE</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>-->
|
|
|
|
|
2022-06-14 17:04:00 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.everit.json</groupId>
|
|
|
|
<artifactId>org.everit.json.schema</artifactId>
|
|
|
|
<version>1.1.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>mockwebserver</artifactId>
|
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2023-08-15 12:52:01 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okio</groupId>
|
|
|
|
<artifactId>okio</artifactId>
|
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okio</groupId>
|
|
|
|
<artifactId>okio-jvm</artifactId>
|
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
2022-06-14 17:04:00 -04:00
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.antlr</groupId>
|
|
|
|
<artifactId>ST4</artifactId>
|
|
|
|
<version>4.1</version>
|
|
|
|
<optional>false</optional>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- /org.hl7.fhir.core test-jar dependencies -->
|
|
|
|
|
2019-01-31 15:51:34 -05:00
|
|
|
<!--
|
|
|
|
The following dependencies are all listed as optional dependencies in
|
|
|
|
org.hl7.fhir.utilities (and others) but are required for the CLI to work,
|
|
|
|
so we explicitly bring them in here.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-compress</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.fhir</groupId>
|
|
|
|
<artifactId>ucum</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2023-08-24 16:05:04 -04:00
|
|
|
<groupId>xpp3</groupId>
|
2019-01-31 15:51:34 -05:00
|
|
|
<artifactId>xpp3</artifactId>
|
|
|
|
</dependency>
|
2023-08-24 16:05:04 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>xpp3</groupId>
|
|
|
|
<artifactId>xpp3_xpath</artifactId>
|
|
|
|
</dependency>
|
2021-01-25 08:07:42 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
</dependency>
|
2022-01-13 17:38:38 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.atlassian.commonmark</groupId>
|
|
|
|
<artifactId>commonmark</artifactId>
|
|
|
|
</dependency>
|
2019-01-31 15:51:34 -05:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2019-02-04 07:53:46 -05:00
|
|
|
|
|
|
|
<!--
|
2022-06-14 17:04:00 -04:00
|
|
|
Build a fatjar containing all dependencies
|
2019-02-04 07:53:46 -05:00
|
|
|
-->
|
2019-01-31 15:51:34 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2019-02-04 07:53:46 -05:00
|
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
2019-01-31 15:51:34 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
2019-02-04 07:53:46 -05:00
|
|
|
<id>unpack-dependencies</id>
|
|
|
|
<phase>process-classes</phase>
|
2019-01-31 15:51:34 -05:00
|
|
|
<goals>
|
2019-02-04 07:53:46 -05:00
|
|
|
<goal>unpack-dependencies</goal>
|
2019-01-31 15:51:34 -05:00
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-02-11 10:32:13 -05:00
|
|
|
<excludes>**/module-info.class,META-INF/*</excludes>
|
2019-02-04 07:53:46 -05:00
|
|
|
<outputDirectory>${project.build.directory}/classes</outputDirectory>
|
|
|
|
<overWriteReleases>false</overWriteReleases>
|
|
|
|
<overWriteSnapshots>true</overWriteSnapshots>
|
|
|
|
<excludeScope>test</excludeScope>
|
|
|
|
<includeScope>compile</includeScope>
|
2019-01-31 15:51:34 -05:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-02-04 07:53:46 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2023-02-17 10:02:49 -05:00
|
|
|
<version>${maven-jar-plugin.version}</version>
|
2019-02-04 07:53:46 -05:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
2022-06-14 17:04:00 -04:00
|
|
|
<classpathLayoutType>repository</classpathLayoutType>
|
2020-10-19 16:39:22 -04:00
|
|
|
<mainClass>org.hl7.fhir.validation.ValidatorCli</mainClass>
|
2019-02-04 07:53:46 -05:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
These two plugins provide quality checks that don't make sense to perform
|
|
|
|
on a fatjar.
|
|
|
|
-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.basepom.maven</groupId>
|
|
|
|
<artifactId>duplicate-finder-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2021-05-21 15:40:05 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
2022-12-06 10:52:52 -05:00
|
|
|
<version>3.0.0</version>
|
2021-05-21 15:40:05 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-cli</id>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
2022-12-06 10:52:52 -05:00
|
|
|
<executable>${env.JAVA_HOME}/bin/java</executable>
|
2021-05-21 15:40:05 -04:00
|
|
|
<!-- optional -->
|
|
|
|
<workingDirectory>/tmp</workingDirectory>
|
|
|
|
<arguments>
|
|
|
|
<argument>-jar</argument>
|
2022-02-10 13:48:00 -05:00
|
|
|
<argument>${project.basedir}/target/org.hl7.fhir.validation.cli-${project.version}.jar</argument>
|
2021-05-21 15:40:05 -04:00
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2019-01-31 15:51:34 -05:00
|
|
|
</plugins>
|
2019-09-14 10:25:52 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<configuration>
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
<pluginExecutions>
|
|
|
|
<pluginExecution>
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
<groupId>
|
|
|
|
org.apache.maven.plugins
|
|
|
|
</groupId>
|
|
|
|
<artifactId>
|
|
|
|
maven-dependency-plugin
|
|
|
|
</artifactId>
|
|
|
|
<versionRange>
|
|
|
|
[3.0.2,)
|
|
|
|
</versionRange>
|
|
|
|
<goals>
|
|
|
|
<goal>
|
|
|
|
unpack-dependencies
|
|
|
|
</goal>
|
|
|
|
</goals>
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
<action>
|
|
|
|
<ignore></ignore>
|
|
|
|
</action>
|
|
|
|
</pluginExecution>
|
|
|
|
</pluginExecutions>
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2020-12-03 15:59:36 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
2022-06-14 17:04:00 -04:00
|
|
|
<skipStaging>true</skipStaging>
|
2020-12-03 15:59:36 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2023-07-14 10:56:40 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.owasp</groupId>
|
|
|
|
<artifactId>dependency-check-maven</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<suppressionFiles>
|
|
|
|
<suppressionFile>cve-suppression.xml</suppressionFile>
|
|
|
|
</suppressionFiles>
|
|
|
|
<excludes>
|
|
|
|
<!-- These are our own modules, and contain test archives for zip-slip, which break owasp
|
|
|
|
archive extraction -->
|
|
|
|
<exclude>ca.uhn.hapi.fhir:org.hl7.fhir.convertors</exclude>
|
|
|
|
<exclude>ca.uhn.hapi.fhir:org.hl7.fhir.r4b</exclude>
|
|
|
|
<exclude>ca.uhn.hapi.fhir:org.hl7.fhir.r5</exclude>
|
|
|
|
<exclude>ca.uhn.hapi.fhir:org.hl7.fhir.utilities</exclude>
|
|
|
|
<exclude>ca.uhn.hapi.fhir:org.hl7.fhir.validation</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-09-14 10:25:52 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2019-01-31 15:51:34 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|