2015-09-24 07:01:04 -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" >
2014-05-05 08:57:43 -04:00
<modelVersion > 4.0.0</modelVersion>
<parent >
<groupId > ca.uhn.hapi.fhir</groupId>
2015-02-03 17:53:22 -05:00
<artifactId > hapi-deployable-pom</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2015-02-03 17:53:22 -05:00
<relativePath > ../hapi-deployable-pom/pom.xml</relativePath>
2014-05-05 08:57:43 -04:00
</parent>
2014-10-30 13:57:29 -04:00
2014-07-21 09:24:38 -04:00
<repositories >
<repository >
<id > maven.java.net</id>
<snapshots >
<enabled > true</enabled>
</snapshots>
<releases >
<enabled > false</enabled>
</releases>
<url > https://maven.java.net/service/local/repositories/snapshots/content/</url>
</repository>
</repositories>
2014-10-30 13:57:29 -04:00
2014-05-05 08:57:43 -04:00
<artifactId > hapi-fhir-jpaserver-base</artifactId>
<packaging > jar</packaging>
<name > HAPI FHIR JPA Server</name>
<dependencies >
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-base</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2014-07-21 09:24:38 -04:00
<exclusions >
<exclusion >
<artifactId > commons-logging</artifactId>
<groupId > commons-logging</groupId>
</exclusion>
</exclusions>
2014-05-05 08:57:43 -04:00
</dependency>
2014-10-16 17:19:27 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2014-10-16 17:19:27 -04:00
</dependency>
2014-12-21 18:13:37 -05:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2015-02-06 15:50:29 -05:00
<artifactId > hapi-fhir-structures-dstu2</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2014-12-21 18:13:37 -05:00
</dependency>
2015-07-10 16:05:40 -04:00
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-hl7org-dstu2</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2015-08-31 08:20:24 -04:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2015-09-03 14:36:37 -04:00
<artifactId > hapi-fhir-validation-resources-dstu2</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2015-07-10 16:05:40 -04:00
</dependency>
2014-10-30 13:57:29 -04:00
2014-07-21 10:17:07 -04:00
<dependency >
2014-10-30 13:57:29 -04:00
<groupId > org.slf4j</groupId>
<artifactId > jcl-over-slf4j</artifactId>
2014-07-21 10:17:07 -04:00
</dependency>
2014-05-29 19:00:16 -04:00
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
<scope > test</scope>
</dependency>
2015-02-06 15:50:29 -05:00
<dependency >
<groupId > org.thymeleaf</groupId>
<artifactId > thymeleaf</artifactId>
<scope > test</scope>
</dependency>
2014-05-05 08:57:43 -04:00
2015-06-04 10:56:13 -04:00
<dependency >
<groupId > com.phloc</groupId>
<artifactId > phloc-schematron</artifactId>
<scope > test</scope>
</dependency>
<dependency >
<groupId > com.phloc</groupId>
<artifactId > phloc-commons</artifactId>
<scope > test</scope>
</dependency>
2014-07-21 09:24:38 -04:00
<!-- For UCUM -->
<dependency >
2014-10-30 13:57:29 -04:00
<groupId > org.jscience</groupId>
<artifactId > jscience</artifactId>
2014-07-21 09:24:38 -04:00
</dependency>
2015-09-24 07:01:04 -04:00
<!-- FHIR RI is pulled in for UCUM support, but we don't want any of its dependencies. -->
2015-10-05 15:30:30 -04:00
<!-- <dependency> <groupId>me.fhir</groupId> <artifactId>fhir - dstu1</artifactId> <version>0.0.81.2489</version> <exclusions> <exclusion> <artifactId>Saxon - HE</artifactId> <groupId>net.sf.saxon</groupId>
</exclusion> <exclusion > <artifactId > commons-discovery</artifactId> <groupId > commons-discovery</groupId> </exclusion> <exclusion > <artifactId > commons-codec</artifactId> <groupId > commons-codec</groupId>
</exclusion> <exclusion > <artifactId > commons-logging</artifactId> <groupId > commons-logging</groupId> </exclusion> <exclusion > <artifactId > xpp3</artifactId> <groupId > xpp3</groupId> </exclusion> <exclusion >
<artifactId > junit</artifactId> <groupId > junit</groupId> </exclusion> <exclusion > <artifactId > jdom</artifactId> <groupId > org.jdom</groupId> </exclusion> <exclusion > <artifactId > gson</artifactId> <groupId > com.google.code.gson</groupId>
2015-09-24 07:01:04 -04:00
</exclusion> </exclusions> </dependency> -->
2014-10-30 13:57:29 -04:00
2014-05-05 08:57:43 -04:00
<!-- Test Database -->
<dependency >
<groupId > org.apache.derby</groupId>
<artifactId > derby</artifactId>
2014-07-02 08:57:07 -04:00
<scope > test</scope>
2014-05-05 08:57:43 -04:00
</dependency>
2014-07-02 15:24:29 -04:00
<dependency >
2015-08-16 22:09:01 -04:00
<groupId > org.apache.commons</groupId>
<artifactId > commons-dbcp2</artifactId>
<scope > test</scope>
</dependency>
2014-07-10 08:50:51 -04:00
<dependency >
<groupId > javax.servlet</groupId>
<artifactId > javax.servlet-api</artifactId>
<scope > provided</scope>
</dependency>
2014-10-30 13:57:29 -04:00
2015-09-24 07:01:04 -04:00
<!-- <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.3.2</version> </dependency> -->
2014-05-05 08:57:43 -04:00
<!-- Spring -->
<dependency >
<groupId > aopalliance</groupId>
<artifactId > aopalliance</artifactId>
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-core</artifactId>
2014-07-21 09:24:38 -04:00
<exclusions >
<exclusion >
<artifactId > commons-logging</artifactId>
<groupId > commons-logging</groupId>
</exclusion>
</exclusions>
2014-05-05 08:57:43 -04:00
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-orm</artifactId>
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-context</artifactId>
<exclusions >
<exclusion >
<artifactId > xml-apis</artifactId>
<groupId > xml-apis</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-beans</artifactId>
</dependency>
2015-09-24 07:01:04 -04:00
<dependency >
<groupId > org.springframework.data</groupId>
<artifactId > spring-data-jpa</artifactId>
</dependency>
2015-09-26 08:49:06 -04:00
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-messaging</artifactId>
</dependency>
2014-05-05 08:57:43 -04:00
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-tx</artifactId>
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-context-support</artifactId>
</dependency>
2015-09-26 08:49:06 -04:00
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-webmvc</artifactId>
</dependency>
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-websocket</artifactId>
</dependency>
2014-05-05 08:57:43 -04:00
<!-- Hibernate -->
<dependency >
<groupId > org.hibernate</groupId>
<artifactId > hibernate-core</artifactId>
<exclusions >
<exclusion >
<artifactId > xml-apis</artifactId>
<groupId > xml-apis</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.hibernate</groupId>
<artifactId > hibernate-entitymanager</artifactId>
</dependency>
<dependency >
<groupId > org.hibernate</groupId>
<artifactId > hibernate-ehcache</artifactId>
<exclusions >
<exclusion >
<groupId > net.sf.ehcache</groupId>
<artifactId > ehcache-core</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency >
<groupId > org.hibernate</groupId>
<artifactId > hibernate-validator</artifactId>
</dependency>
<dependency >
<groupId > javax.transaction</groupId>
<artifactId > jta</artifactId>
</dependency>
<dependency >
<groupId > javax.mail</groupId>
<artifactId > javax.mail-api</artifactId>
</dependency>
<dependency >
<groupId > javax.validation</groupId>
<artifactId > validation-api</artifactId>
</dependency>
2014-08-05 10:46:46 -04:00
<dependency >
2014-10-30 13:57:29 -04:00
<groupId > javax.el</groupId>
<artifactId > javax.el-api</artifactId>
2015-09-25 16:53:22 -04:00
<scope > provided</scope>
2014-08-05 10:46:46 -04:00
</dependency>
<dependency >
2014-10-30 13:57:29 -04:00
<groupId > org.glassfish</groupId>
<artifactId > javax.el</artifactId>
2014-08-05 10:46:46 -04:00
</dependency>
2015-10-05 15:30:30 -04:00
<dependency >
<groupId > org.hibernate</groupId>
<artifactId > hibernate-search-orm</artifactId>
<version > 5.5.0.Final</version>
</dependency>
2014-05-29 09:17:12 -04:00
<!-- Misc -->
<dependency >
2014-10-30 13:57:29 -04:00
<groupId > com.google.guava</groupId>
<artifactId > guava</artifactId>
2014-05-29 09:17:12 -04:00
</dependency>
2015-09-24 07:01:04 -04:00
2015-02-06 15:50:29 -05:00
<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>
2015-09-26 08:49:06 -04:00
<dependency >
<groupId > org.eclipse.jetty</groupId>
<artifactId > jetty-webapp</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>
2015-08-31 08:20:24 -04:00
<dependency >
<groupId > org.springframework</groupId>
<artifactId > spring-test</artifactId>
<scope > test</scope>
</dependency>
2015-09-24 07:01:04 -04:00
2014-05-05 08:57:43 -04:00
</dependencies>
2014-05-29 09:17:12 -04:00
2014-05-05 08:57:43 -04:00
<properties >
2014-06-25 17:01:32 -04:00
<skip-hib4 > false</skip-hib4>
2014-05-05 08:57:43 -04:00
</properties>
<build >
<pluginManagement >
<plugins >
<plugin >
<groupId > org.apache.maven.plugins</groupId>
2014-10-30 13:57:29 -04:00
<artifactId > maven-site-plugin</artifactId>
2014-05-05 08:57:43 -04:00
<configuration >
2014-10-30 13:57:29 -04:00
<skipDeploy > true</skipDeploy>
2014-05-05 08:57:43 -04:00
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins >
2015-05-12 18:08:10 -04:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-surefire-plugin</artifactId>
<configuration >
2015-09-24 07:01:04 -04:00
<!-- These tests all use a shared database, so it's easier if they run in a predictable order -->
2015-05-12 18:08:10 -04:00
<runOrder > alphabetical</runOrder>
</configuration>
</plugin>
2014-12-21 18:13:37 -05:00
<plugin >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-tinder-plugin</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2014-12-21 18:13:37 -05:00
<executions >
<execution >
<id > build_dstu1</id>
<goals >
<goal > generate-jparest-server</goal>
</goals>
<configuration >
<version > dstu</version>
2015-10-16 08:57:07 -04:00
<configPackageBase > ca.uhn.fhir.jpa.config</configPackageBase>
2014-12-21 18:13:37 -05:00
<packageBase > ca.uhn.fhir.jpa.rp.dstu</packageBase>
<targetResourceSpringBeansFile > hapi-fhir-server-resourceproviders-dstu1.xml</targetResourceSpringBeansFile>
<baseResourceNames > </baseResourceNames>
</configuration>
</execution>
<execution >
2015-02-06 15:50:29 -05:00
<id > build_dstu2</id>
2014-12-21 18:13:37 -05:00
<goals >
<goal > generate-jparest-server</goal>
</goals>
<configuration >
2015-02-06 15:50:29 -05:00
<version > dstu2</version>
2015-10-16 08:57:07 -04:00
<configPackageBase > ca.uhn.fhir.jpa.config</configPackageBase>
2015-02-06 15:50:29 -05:00
<packageBase > ca.uhn.fhir.jpa.rp.dstu2</packageBase>
<targetResourceSpringBeansFile > hapi-fhir-server-resourceproviders-dstu2.xml</targetResourceSpringBeansFile>
2014-12-21 18:13:37 -05:00
<baseResourceNames > </baseResourceNames>
2015-07-18 18:44:46 -04:00
<excludeResourceNames >
2015-10-12 18:47:49 -04:00
<!--
2015-07-18 18:44:46 -04:00
<excludeResourceName > OperationDefinition</excludeResourceName>
<excludeResourceName > OperationOutcome</excludeResourceName>
2015-10-12 18:47:49 -04:00
-->
2015-07-18 18:44:46 -04:00
</excludeResourceNames>
2014-12-21 18:13:37 -05:00
</configuration>
</execution>
</executions>
<dependencies >
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-structures-dstu</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2014-12-21 18:13:37 -05:00
</dependency>
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
2015-02-06 15:50:29 -05:00
<artifactId > hapi-fhir-structures-dstu2</artifactId>
2015-09-19 11:00:57 -04:00
<version > 1.3-SNAPSHOT</version>
2014-12-21 18:13:37 -05:00
</dependency>
</dependencies>
</plugin>
2014-05-05 08:57:43 -04:00
</plugins>
2014-12-21 18:13:37 -05:00
<resources >
<resource >
<directory > ${basedir}/src/main/resources</directory>
</resource>
<resource >
<directory > ${basedir}/target/generated-sources/tinder</directory>
</resource>
<resource >
<directory > ${basedir}/target/generated-resources/tinder</directory>
</resource>
</resources>
2014-05-05 08:57:43 -04:00
</build>
2015-02-03 17:53:22 -05:00
<reporting >
2015-09-24 07:01:04 -04:00
<plugins >
2015-02-03 17:53:22 -05:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-jxr-plugin</artifactId>
</plugin>
</plugins>
</reporting>
2014-06-25 17:01:32 -04:00
<profiles >
<profile >
<id > JENKINS</id>
<properties >
<skip-hib4 > true</skip-hib4>
</properties>
</profile>
2015-09-21 09:08:19 -04:00
<profile >
<id > DIST</id>
<build >
<plugins >
<plugin >
<groupId > de.juplo</groupId>
<artifactId > hibernate4-maven-plugin</artifactId>
<configuration >
<force > true</force>
<target > SCRIPT</target>
<skip > ${skip-hib4}</skip>
</configuration>
2015-10-05 15:30:30 -04:00
<!-- This needs to be uncommented in order for this plugin to work with Hibernate 4.3+ (as of hibernate4 - maven - plugin version 1.0.5) <dependencies> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate - core</artifactId>
<version > ${hibernate_version}</version> </dependency> </dependencies> -->
2015-09-21 09:08:19 -04:00
<executions >
<execution >
<id > o10g</id>
<goals >
<goal > export</goal>
</goals>
<phase > test</phase>
<configuration >
<hibernateDialect > org.hibernate.dialect.Oracle10gDialect</hibernateDialect>
<outputFile > ${project.build.directory}/schema_oracle_10g.sql</outputFile>
</configuration>
</execution>
<execution >
<id > derby</id>
<goals >
<goal > export</goal>
</goals>
<phase > test</phase>
<configuration >
<hibernateDialect > org.hibernate.dialect.DerbyTenSevenDialect</hibernateDialect>
<outputFile > ${project.build.directory}/schema_derby.sql</outputFile>
</configuration>
</execution>
<execution >
<id > hsql</id>
<goals >
<goal > export</goal>
</goals>
<phase > test</phase>
<configuration >
<hibernateDialect > org.hibernate.dialect.HSQLDialect</hibernateDialect>
<outputFile > ${project.build.directory}/schema_hsql.sql</outputFile>
</configuration>
</execution>
<execution >
<id > mysql5</id>
<goals >
<goal > export</goal>
</goals>
<phase > test</phase>
<configuration >
<hibernateDialect > org.hibernate.dialect.MySQL5Dialect</hibernateDialect>
<outputFile > ${project.build.directory}/schema_mysql_5.sql</outputFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
2014-06-25 17:01:32 -04:00
</profiles>
2014-05-05 08:57:43 -04:00
</project>