2017-10-15 11:27:30 -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">
2016-06-15 17:34:50 -04:00
<modelVersion > 4.0.0</modelVersion>
2017-10-15 11:27:30 -04:00
<!--
The parent of this project is the deployable POM. This project isn't
deployable, but this keeps it before the root pom in the reactor
order when building the site. I don't know why this works...
Need to investigate this.
-->
2016-06-15 17:34:50 -04:00
<parent >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-deployable-pom</artifactId>
2018-05-28 17:44:38 -04:00
<version > 3.5.0-SNAPSHOT</version>
2016-06-15 17:34:50 -04:00
<relativePath > ../hapi-deployable-pom/pom.xml</relativePath>
</parent>
<artifactId > hapi-fhir-jacoco</artifactId>
<packaging > jar</packaging>
<name > HAPI FHIR - JaCoCo Test Coverage</name>
<dependencies >
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-base</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2017-08-13 14:39:47 -04:00
<artifactId > hapi-fhir-server</artifactId>
<version > ${project.version}</version>
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-client</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu2</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu3</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
2017-08-13 14:39:47 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-r4</artifactId>
<version > ${project.version}</version>
</dependency>
2016-06-15 17:34:50 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-hl7org-dstu2</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-validation-resources-dstu2</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-validation-resources-dstu3</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-jpaserver-base</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-06-15 17:34:50 -04:00
</dependency>
2016-08-02 20:31:05 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-client-okhttp</artifactId>
2017-01-29 13:22:28 -05:00
<version > ${project.version}</version>
2016-08-02 20:31:05 -04:00
</dependency>
2016-06-15 17:34:50 -04:00
2018-05-31 16:15:10 -04:00
<dependency >
<groupId > javax.mail</groupId>
<artifactId > javax.mail-api</artifactId>
</dependency>
<dependency >
<groupId > com.sun.mail</groupId>
<artifactId > javax.mail</artifactId>
<exclusions >
<exclusion >
<groupId > javax.activation</groupId>
<artifactId > activation</artifactId>
</exclusion>
</exclusions>
</dependency>
2016-06-15 17:34:50 -04:00
<dependency >
2018-05-14 17:38:40 -04:00
<groupId > com.helger</groupId>
<artifactId > ph-schematron</artifactId>
2017-01-29 13:22:28 -05:00
<exclusions >
<exclusion >
<artifactId > Saxon-HE</artifactId>
<groupId > net.sf.saxon</groupId>
</exclusion>
</exclusions>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
2018-05-14 17:38:40 -04:00
<groupId > com.helger</groupId>
<artifactId > ph-commons</artifactId>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > org.thymeleaf</groupId>
<artifactId > thymeleaf</artifactId>
</dependency>
<!-- Use an older version of SLF4j just to make sure we compile correctly against old SLF4j - Some people can't upgrade and we have no real need for recent features. -->
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
</dependency>
<!-- Test Database -->
<dependency >
<groupId > org.apache.derby</groupId>
<artifactId > derby</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.apache.commons</groupId>
<artifactId > commons-dbcp2</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > javax.servlet</groupId>
<artifactId > javax.servlet-api</artifactId>
<scope > provided</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>
2017-10-15 11:27:30 -04:00
2016-06-15 17:34:50 -04:00
<dependency >
<groupId > net.sf.json-lib</groupId>
<artifactId > json-lib</artifactId>
<classifier > jdk15</classifier>
<scope > test</scope>
<exclusions >
<exclusion >
<artifactId > commons-logging</artifactId>
<groupId > commons-logging</groupId>
</exclusion>
2017-01-29 13:22:28 -05:00
<exclusion >
<artifactId > commons-lang</artifactId>
<groupId > commons-lang</groupId>
</exclusion>
<exclusion >
<artifactId > ezmorph</artifactId>
<groupId > net.sf.ezmorph</groupId>
</exclusion>
2016-06-15 17:34:50 -04:00
</exclusions>
</dependency>
<dependency >
<groupId > net.sf.json-lib</groupId>
<artifactId > json-lib</artifactId>
<classifier > jdk15-sources</classifier>
<scope > test</scope>
2017-01-29 13:22:28 -05:00
<exclusions >
<exclusion >
<artifactId > commons-logging</artifactId>
<groupId > commons-logging</groupId>
</exclusion>
<exclusion >
<artifactId > commons-lang</artifactId>
<groupId > commons-lang</groupId>
</exclusion>
<exclusion >
<artifactId > ezmorph</artifactId>
<groupId > net.sf.ezmorph</groupId>
</exclusion>
</exclusions>
2016-06-15 17:34:50 -04:00
</dependency>
<dependency >
<groupId > directory-naming</groupId>
<artifactId > naming-java</artifactId>
<scope > test</scope>
<exclusions >
<exclusion >
<artifactId > commons-logging</artifactId>
<groupId > commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
</dependency>
<dependency >
2017-08-13 14:39:47 -04:00
<groupId > org.xmlunit</groupId>
<artifactId > xmlunit-core</artifactId>
2016-06-15 17:34:50 -04:00
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-test</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.eclipse.jetty.websocket</groupId>
<artifactId > websocket-api</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.eclipse.jetty.websocket</groupId>
<artifactId > websocket-client</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > org.eclipse.jetty.websocket</groupId>
<artifactId > websocket-server</artifactId>
<scope > test</scope>
</dependency>
2016-11-22 06:33:20 -05:00
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-web</artifactId>
</dependency>
2017-04-23 22:21:35 -04:00
2017-10-15 11:27:30 -04:00
<!--
2017-04-23 22:21:35 -04:00
For some reason JavaDoc crashed during site generation unless we have this dependency
-->
2017-10-15 11:27:30 -04:00
<dependency >
<groupId > javax.interceptor</groupId>
<artifactId > javax.interceptor-api</artifactId>
<scope > provided</scope>
</dependency>
2017-04-23 22:21:35 -04:00
2016-06-15 17:34:50 -04:00
</dependencies>
<properties >
</properties>
<build >
<pluginManagement >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-site-plugin</artifactId>
<configuration >
<skipDeploy > true</skipDeploy>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins >
2017-10-15 11:27:30 -04:00
<plugin >
<groupId > org.basepom.maven</groupId>
<artifactId > duplicate-finder-maven-plugin</artifactId>
<configuration >
<skip > true</skip>
</configuration>
</plugin>
2016-06-15 17:34:50 -04:00
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<executions >
<execution >
<id > jacoco-merge</id>
<goals >
<goal > merge</goal>
</goals>
<phase > install</phase>
<configuration >
<fileSets >
<fileSet implementation= "org.apache.maven.shared.model.fileset.FileSet" >
<directory > ${basedir}/..</directory>
<includes >
<include > hapi-fhir-base/target/jacoco.exec</include>
2017-08-13 14:39:47 -04:00
<include > hapi-fhir-client/target/jacoco.exec</include>
<include > hapi-fhir-server/target/jacoco.exec</include>
2016-06-15 17:34:50 -04:00
<include > hapi-fhir-structures-dstu/target/jacoco.exec</include>
<include > hapi-fhir-structures-dstu2/target/jacoco.exec</include>
<include > hapi-fhir-structures-hl7org-dstu2/target/jacoco.exec</include>
<include > hapi-fhir-structures-dstu3/target/jacoco.exec</include>
2017-08-13 14:39:47 -04:00
<include > hapi-fhir-structures-r4/target/jacoco.exec</include>
2016-06-15 17:34:50 -04:00
<include > hapi-fhir-jpaserver-base/target/jacoco.exec</include>
2016-08-02 20:31:05 -04:00
<include > hapi-fhir-client-okhttp/target/jacoco.exec</include>
2016-09-16 23:46:06 -04:00
<include > hapi-fhir-android/target/jacoco.exec</include>
2017-08-13 14:39:47 -04:00
<include > hapi-fhir-validation/target/jacoco.exec</include>
2016-06-15 17:34:50 -04:00
</includes>
</fileSet>
</fileSets>
</configuration>
</execution>
2017-10-15 11:27:30 -04:00
<execution >
<id > post-integration-test</id>
<phase > install</phase>
<goals >
<goal > report</goal>
</goals>
<configuration >
<dataFile > ${project.build.directory}/jacoco.exec</dataFile>
<outputDirectory > ${project.reporting.outputDirectory}/jacoco-report</outputDirectory>
</configuration>
</execution>
2016-06-15 17:34:50 -04:00
</executions>
</plugin>
<plugin >
<groupId > org.eluder.coveralls</groupId>
<artifactId > coveralls-maven-plugin</artifactId>
<configuration >
<sourceEncoding > UTF-8</sourceEncoding>
<serviceName > travis-ci</serviceName>
<serviceJobId > ${env.TRAVIS_JOB_ID}</serviceJobId>
<sourceDirectories >
2016-08-02 20:31:05 -04:00
<sourceDirectory > ../hapi-fhir-base/src/main/java</sourceDirectory>
2017-08-13 14:39:47 -04:00
<sourceDirectory > ../hapi-fhir-client/src/main/java</sourceDirectory>
<sourceDirectory > ../hapi-fhir-server/src/main/java</sourceDirectory>
2016-06-15 17:34:50 -04:00
<sourceDirectory > ../hapi-fhir-structures-dstu/src/test/java</sourceDirectory>
<sourceDirectory > ../hapi-fhir-structures-dstu2/src/test/java</sourceDirectory>
<sourceDirectory > ../hapi-fhir-structures-hl7org-dstu2/src/test/java</sourceDirectory>
2016-08-02 20:31:05 -04:00
<sourceDirectory > ../hapi-fhir-structures-dstu3/src/test/java</sourceDirectory>
2017-08-13 14:39:47 -04:00
<sourceDirectory > ../hapi-fhir-structures-r4/src/test/java</sourceDirectory>
2016-08-02 22:07:45 -04:00
<sourceDirectory > ../hapi-fhir-jpaserver-base/src/main/java</sourceDirectory>
2016-08-02 20:31:05 -04:00
<sourceDirectory > ../hapi-fhir-client-okhttp/src/main/java</sourceDirectory>
2016-06-15 17:34:50 -04:00
</sourceDirectories>
</configuration>
2018-05-31 20:42:41 -04:00
<dependencies >
<dependency >
<groupId > javax.xml.bind</groupId>
<artifactId > jaxb-api</artifactId>
<version > 2.3.0</version>
</dependency>
</dependencies>
2016-06-15 17:34:50 -04:00
</plugin>
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > build-helper-maven-plugin</artifactId>
<executions >
<execution >
<id > add-source</id>
<phase > generate-sources</phase>
<goals >
<goal > add-source</goal>
</goals>
<configuration >
<sources >
<source > ../hapi-fhir-base/src/main/java</source>
2017-08-13 14:39:47 -04:00
<source > ../hapi-fhir-client/src/main/java</source>
<source > ../hapi-fhir-server/src/main/java</source>
2016-06-15 17:34:50 -04:00
<source > ../hapi-fhir-jpaserver-base/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-install-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>
</plugins>
2016-08-02 22:07:45 -04:00
<resources >
</resources>
<testResources >
<testResource >
<directory > ../hapi-fhir-base/src/test/resources</directory>
</testResource>
<testResource >
<directory > ../hapi-fhir-jpaserver-base/src/test/resources</directory>
</testResource>
<testResource >
<directory > ../hapi-fhir-structures-dstu/src/test/resources</directory>
</testResource>
<testResource >
<directory > ../hapi-fhir-structures-dstu2/src/test/resources</directory>
</testResource>
<testResource >
<directory > ../hapi-fhir-structures-hl7org-dstu2/src/test/resources</directory>
</testResource>
<testResource >
<directory > ../hapi-fhir-structures-dstu3/src/test/resources</directory>
</testResource>
2016-10-14 16:15:27 -04:00
<testResource >
<directory > ../hapi-fhir-client-okhttp/src/test/resources</directory>
</testResource>
2016-08-02 22:07:45 -04:00
</testResources>
2016-06-15 17:34:50 -04:00
</build>
<reporting >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-project-info-reports-plugin</artifactId>
<version > ${maven_project_info_plugin_version}</version>
<configuration >
<skip > true</skip>
</configuration>
</plugin>
</plugins>
</reporting>
</project>