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>
|
2021-09-02 11:09:38 -04:00
|
|
|
<version>5.5.1</version>
|
2019-01-31 15:51:34 -05:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>org.hl7.fhir.validation.cli</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<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
|
|
|
|
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>
|
2020-08-26 22:31:38 -04:00
|
|
|
<version>1.0.3</version>
|
2019-01-31 15:51:34 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>xpp3</groupId>
|
|
|
|
<artifactId>xpp3</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<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>
|
|
|
|
<version>4.9.0</version>
|
|
|
|
</dependency>
|
2019-01-31 15:51:34 -05:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
2019-02-04 07:53:46 -05:00
|
|
|
|
|
|
|
<!--
|
|
|
|
Build a fatjar containing all depenedncies
|
|
|
|
-->
|
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>
|
2019-02-04 07:53:46 -05:00
|
|
|
<excludes>**/module-info.class</excludes>
|
|
|
|
<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>
|
2019-08-02 16:49:54 -04:00
|
|
|
<version>3.1.2</version>
|
2019-02-04 07:53:46 -05:00
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
|
|
|
<addClasspath>true</addClasspath>
|
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>
|
|
|
|
<version>1.2.1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>default-cli</id>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<executable>java</executable>
|
|
|
|
<!-- optional -->
|
|
|
|
<workingDirectory>/tmp</workingDirectory>
|
|
|
|
<arguments>
|
|
|
|
<argument>-jar</argument>
|
|
|
|
<argument>${basedir}/target/org.hl7.fhir.validation.cli-${project.version}.jar</argument>
|
|
|
|
</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>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2019-09-14 10:25:52 -04:00
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2019-01-31 15:51:34 -05:00
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|