2015-08-17 15:54:00 -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" >
2015-06-20 14:23:34 -04:00
<modelVersion > 4.0.0</modelVersion>
2016-06-05 09:40:06 -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. -->
2015-06-20 14:23:34 -04:00
<parent >
<groupId > ca.uhn.hapi.fhir</groupId>
2015-07-14 18:08:06 -04:00
<artifactId > hapi-deployable-pom</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-07-14 18:08:06 -04:00
<relativePath > ../hapi-deployable-pom/pom.xml</relativePath>
2015-06-20 14:23:34 -04:00
</parent>
2015-06-20 20:22:05 -04:00
<artifactId > hapi-fhir-cobertura</artifactId>
2015-06-20 14:23:34 -04:00
<packaging > jar</packaging>
2015-06-24 12:26:40 -04:00
<name > HAPI FHIR - Cobertura Test Coverage</name>
2015-06-20 14:23:34 -04:00
<dependencies >
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-base</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-06-20 14:23:34 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-06-20 14:23:34 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu2</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-06-20 14:23:34 -04:00
</dependency>
2016-01-06 08:49:24 -05:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2016-02-01 08:55:58 -05:00
<artifactId > hapi-fhir-structures-dstu3</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2016-01-06 08:49:24 -05:00
</dependency>
2015-06-20 14:23:34 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-hl7org-dstu2</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-06-20 14:23:34 -04:00
</dependency>
2015-08-31 08:20:24 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2015-09-15 10:49:55 -04:00
<artifactId > hapi-fhir-validation-resources-dstu2</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-08-31 08:20:24 -04:00
</dependency>
2016-01-06 08:49:24 -05:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2016-02-01 08:55:58 -05:00
<artifactId > hapi-fhir-validation-resources-dstu3</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2016-01-06 08:49:24 -05:00
</dependency>
2015-06-20 14:23:34 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-jpaserver-base</artifactId>
2016-04-22 07:05:05 -04:00
<version > 1.6-SNAPSHOT</version>
2015-06-20 14:23:34 -04:00
</dependency>
<dependency >
<groupId > com.phloc</groupId>
<artifactId > phloc-schematron</artifactId>
</dependency>
<dependency >
<groupId > com.phloc</groupId>
<artifactId > phloc-commons</artifactId>
</dependency>
<dependency >
<groupId > org.thymeleaf</groupId>
<artifactId > thymeleaf</artifactId>
</dependency>
2015-08-28 17:06:56 -04:00
<!-- 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. -->
2015-08-17 15:54:00 -04:00
<dependency >
<groupId > org.slf4j</groupId>
<artifactId > slf4j-api</artifactId>
</dependency>
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
</dependency>
2015-06-20 14:23:34 -04:00
<!-- Test Database -->
<dependency >
<groupId > org.apache.derby</groupId>
<artifactId > derby</artifactId>
<scope > test</scope>
</dependency>
<dependency >
2015-08-17 15:54:00 -04:00
<groupId > org.apache.commons</groupId>
<artifactId > commons-dbcp2</artifactId>
2015-06-20 14:23:34 -04:00
<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>
2016-06-05 09:40:06 -04:00
<dependency >
<groupId > xmlunit</groupId>
<artifactId > xmlunit</artifactId>
<scope > test</scope>
</dependency>
2015-06-20 14:23:34 -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>
</exclusions>
</dependency>
<dependency >
<groupId > net.sf.json-lib</groupId>
<artifactId > json-lib</artifactId>
<classifier > jdk15-sources</classifier>
<scope > test</scope>
</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 >
<groupId > org.ebaysf.web</groupId>
<artifactId > cors-filter</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > xmlunit</groupId>
<artifactId > xmlunit</artifactId>
<scope > test</scope>
</dependency>
2015-08-31 09:23:21 -04:00
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-test</artifactId>
<scope > test</scope>
</dependency>
2015-10-12 18:47:49 -04:00
<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>
2015-06-20 14:23:34 -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>
2015-09-15 14:34:06 -04:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > cobertura-maven-plugin</artifactId>
<configuration >
<skip > false</skip>
<formats >
<format > html</format>
<format > xml</format>
</formats>
2016-01-07 18:37:15 -05:00
<maxmem > 712m</maxmem>
2015-09-15 14:34:06 -04:00
<instrumentation >
<ignores >
<ignore > ca.uhn.fhir.model.dstu.valueset.*</ignore>
</ignores>
<excludes >
<ignore > **/valueset/*.class</ignore>
<ignore > **/exceptions/*.class</ignore>
</excludes>
2016-01-02 10:55:52 -05:00
<ignoreMethodAnnotation > ca.uhn.fhir.util.CoverageIgnore</ignoreMethodAnnotation>
2015-09-15 14:34:06 -04:00
<!-- <ignoreMethodAnnotations> <ignoreMethodAnnotation>net.sourceforge.cobertura.CoverageIgnore</ignoreMethodAnnotation> </ignoreMethodAnnotations> -->
</instrumentation>
</configuration>
<executions >
<execution >
<phase > verify</phase>
<goals >
<goal > check</goal>
</goals>
</execution>
</executions>
</plugin>
2015-06-20 14:23:34 -04:00
</plugins>
</pluginManagement>
<plugins >
<plugin >
<groupId > org.eluder.coveralls</groupId>
<artifactId > coveralls-maven-plugin</artifactId>
<configuration >
2015-09-15 14:34:06 -04:00
<coberturaReports >
<coberturaReport >
${basedir}/target/coverage.xml
</coberturaReport>
</coberturaReports>
2015-06-20 15:10:19 -04:00
<sourceEncoding > UTF-8</sourceEncoding>
<serviceName > travis-ci</serviceName>
2015-06-20 20:37:47 -04:00
<serviceJobId > ${env.TRAVIS_JOB_ID}</serviceJobId>
2015-06-20 19:21:44 -04:00
<sourceDirectories >
<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>
<sourceDirectory > ../hapi-fhir-jpaserver-base/src/test/java</sourceDirectory>
2015-06-20 20:22:05 -04:00
<sourceDirectory > ../hapi-fhir-base/src/main/java</sourceDirectory>
<sourceDirectory > ../hapi-fhir-jpaserver-base/src/main/java</sourceDirectory>
2015-06-20 19:21:44 -04:00
</sourceDirectories>
2015-06-20 14:23:34 -04:00
</configuration>
</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>
<source > ../hapi-fhir-jpaserver-base/src/main/java</source>
</sources>
</configuration>
</execution>
<execution >
<id > add-test-source</id>
<phase > generate-test-sources</phase>
<goals >
<goal > add-test-source</goal>
</goals>
<configuration >
<sources >
<source > ../hapi-fhir-structures-dstu/src/test/java</source>
2015-06-21 12:16:33 -04:00
<source > ../hapi-fhir-structures-dstu2/src/test/java</source>
<source > ../hapi-fhir-structures-hl7org-dstu2/src/test/java</source>
2016-02-01 08:55:58 -05:00
<source > ../hapi-fhir-structures-dstu3/src/test/java</source>
2015-06-21 12:16:33 -04:00
<source > ../hapi-fhir-jpaserver-base/src/test/java</source>
2016-06-05 11:33:43 -04:00
<source > ../hapi-fhir-base/src/test/java</source>
2015-06-20 14:23:34 -04:00
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
<runOrder > alphabetical</runOrder>
2016-04-13 10:33:58 -04:00
<argLine > -Xmx1624m</argLine>
2016-03-29 15:55:07 -04:00
<redirectTestOutputToFile > true</redirectTestOutputToFile>
2016-06-05 09:40:06 -04:00
<!-- <reportFormat>plain</reportFormat> -->
<!-- <argLine> - Xmx600m - XX:+HeapDumpOnOutOfMemoryError</argLine> -->
<!-- <reuseForks>false</reuseForks> -->
2015-06-20 14:23:34 -04:00
</configuration>
</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>
<plugin >
2015-09-15 14:34:06 -04:00
<groupId > org.codehaus.mojo</groupId>
<artifactId > cobertura-maven-plugin</artifactId>
<configuration >
<check >
<haltOnFailure > true</haltOnFailure>
</check>
</configuration>
2015-06-20 14:23:34 -04:00
<executions >
<execution >
2015-09-15 14:34:06 -04:00
<phase > verify</phase>
2015-06-20 14:23:34 -04:00
<goals >
2015-09-15 14:34:06 -04:00
<goal > check</goal>
2015-06-20 14:23:34 -04:00
</goals>
</execution>
</executions>
</plugin>
2016-06-05 09:40:06 -04:00
<!--
<plugin >
<groupId > org.jacoco</groupId>
<artifactId > jacoco-maven-plugin</artifactId>
<version > 0.7.6.201602180812</version>
<executions >
<execution >
<id > prepare-agent</id>
<goals >
<goal > prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
-->
2015-06-20 14:23:34 -04:00
</plugins>
<resources >
</resources>
<testResources >
2016-06-05 11:33:43 -04:00
<testResource >
<directory > ../hapi-fhir-base/src/test/resources</directory>
</testResource>
2015-06-20 14:23:34 -04:00
<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>
2016-01-06 08:49:24 -05:00
<testResource >
2016-02-01 08:55:58 -05:00
<directory > ../hapi-fhir-structures-dstu3/src/test/resources</directory>
2016-01-06 08:49:24 -05:00
</testResource>
2015-06-20 14:23:34 -04:00
</testResources>
</build>
<reporting >
<plugins >
2015-09-15 14:34:06 -04:00
<plugin >
<groupId > org.codehaus.mojo</groupId>
<artifactId > cobertura-maven-plugin</artifactId>
<reportSets >
<reportSet >
<reports >
<report > cobertura</report>
</reports>
<configuration >
<check >
<haltOnFailure > true</haltOnFailure>
</check>
</configuration>
</reportSet>
</reportSets>
</plugin>
2015-06-21 22:10:13 -04:00
<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>
2015-06-22 07:24:27 -04:00
</plugins>
2015-06-20 14:23:34 -04:00
</reporting>
2015-06-23 08:29:13 -04:00
2015-06-20 14:23:34 -04:00
</project>