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

157 lines
5.4 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>
<version>5.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>
<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>
<version>3.1.2</version>
2019-02-04 07:53:46 -05:00
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
2020-02-24 15:30:34 -05:00
<mainClass>org.hl7.fhir.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>
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>
</plugins>
</pluginManagement>
2019-01-31 15:51:34 -05:00
</build>
</project>