org.hl7.fhir.core/org.hl7.fhir.validation.cli/pom.xml

119 lines
4.2 KiB
XML
Raw Normal View History

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>
2019-06-04 00:04:27 -04:00
<version>3.7.43-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>
<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>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3</artifactId>
</dependency>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3_xpath</artifactId>
</dependency>
</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>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>org.hl7.fhir.r5.validation.Validator</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>
2019-01-31 15:51:34 -05:00
</plugins>
</build>
</project>