2014-05-05 08:57:43 -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">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir</artifactId>
|
2014-05-20 18:28:13 -04:00
|
|
|
<version>0.4-SNAPSHOT</version>
|
2014-05-05 08:57:43 -04:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<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>
|
2014-05-20 18:28:13 -04:00
|
|
|
<version>0.4-SNAPSHOT</version>
|
2014-05-05 08:57:43 -04:00
|
|
|
</dependency>
|
|
|
|
|
2014-05-29 19:00:16 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
<version>1.1.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-05-05 08:57:43 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>${junit_version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
<artifactId>hamcrest-all</artifactId>
|
|
|
|
<version>${hamcrest_version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Database -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-dbcp</groupId>
|
|
|
|
<artifactId>commons-dbcp</artifactId>
|
|
|
|
<version>1.4</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Test Database -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.derby</groupId>
|
|
|
|
<artifactId>derby</artifactId>
|
|
|
|
<version>${derby_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<!-- <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.3.2</version> </dependency> -->
|
|
|
|
|
|
|
|
<!-- Spring -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>aopalliance</groupId>
|
|
|
|
<artifactId>aopalliance</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<version>${spring_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-orm</artifactId>
|
|
|
|
<version>${spring_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${spring_version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
<version>${spring_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-tx</artifactId>
|
|
|
|
<version>${spring_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
<version>${spring_version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- Hibernate -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${hibernate_version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<artifactId>xml-apis</artifactId>
|
|
|
|
<groupId>xml-apis</groupId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-entitymanager</artifactId>
|
|
|
|
<version>${hibernate_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-ehcache</artifactId>
|
|
|
|
<version>${hibernate_version}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
<artifactId>ehcache-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<version>${hibernate_validator_version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.transaction</groupId>
|
|
|
|
<artifactId>jta</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.mail</groupId>
|
|
|
|
<artifactId>javax.mail-api</artifactId>
|
|
|
|
<version>1.5.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.validation</groupId>
|
|
|
|
<artifactId>validation-api</artifactId>
|
|
|
|
<version>1.1.0.Final</version>
|
|
|
|
</dependency>
|
2014-05-29 09:17:12 -04:00
|
|
|
|
|
|
|
<!-- Misc -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
<version>17.0</version>
|
|
|
|
</dependency>
|
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>
|
|
|
|
<junit_version>4.11</junit_version>
|
|
|
|
<derby_version>10.10.2.0</derby_version>
|
|
|
|
<guava_version>14.0.1</guava_version>
|
|
|
|
<hamcrest_version>1.3</hamcrest_version>
|
2014-05-27 18:52:46 -04:00
|
|
|
<!-- <hibernate_version>4.3.5.Final</hibernate_version>-->
|
|
|
|
<hibernate_version>4.2.12.Final</hibernate_version>
|
2014-05-05 08:57:43 -04:00
|
|
|
<hibernate_validator_version>5.1.0.Final</hibernate_validator_version>
|
|
|
|
<jetty_version>9.1.1.v20140108</jetty_version>
|
|
|
|
<mockito_version>1.9.5</mockito_version>
|
|
|
|
<slf4j_version>1.7.2</slf4j_version>
|
|
|
|
<spring_version>4.0.1.RELEASE</spring_version>
|
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>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
2014-05-27 18:52:46 -04:00
|
|
|
<source>1.6</source>
|
|
|
|
<target>1.6</target>
|
2014-05-05 08:57:43 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
2014-05-21 08:46:36 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>de.juplo</groupId>
|
|
|
|
<artifactId>hibernate4-maven-plugin</artifactId>
|
|
|
|
<version>1.0.2</version>
|
|
|
|
<configuration>
|
|
|
|
<force>true</force>
|
|
|
|
<target>SCRIPT</target>
|
2014-06-25 17:01:32 -04:00
|
|
|
<skip>${skip-hib4}</skip>
|
2014-05-21 08:46:36 -04:00
|
|
|
</configuration>
|
2014-05-27 18:52:46 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-core</artifactId>
|
|
|
|
<version>${hibernate_version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2014-05-21 08:46:36 -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>
|
2014-05-05 08:57:43 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2014-06-25 17:01:32 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>JENKINS</id>
|
|
|
|
<properties>
|
|
|
|
<skip-hib4>true</skip-hib4>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2014-05-05 08:57:43 -04:00
|
|
|
</project>
|