hapi-fhir/hapi-fhir-jpaserver-example/pom.xml

237 lines
7.0 KiB
XML
Raw Normal View History

<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-01-27 21:56:32 -05:00
<modelVersion>4.0.0</modelVersion>
<!-- Note: HAPI projects use the "hapi-fhir" POM as their base to provide
easy management. You do not need to use this in your own projects, so the
"parent" tag and it's contents below may be removed if you are using this
file as a basis for your own project. -->
2015-01-27 21:56:32 -05:00
<parent>
2015-04-20 12:07:52 -04:00
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir</artifactId>
2015-07-14 18:08:06 -04:00
<version>1.2-SNAPSHOT</version>
2015-04-20 12:07:52 -04:00
<relativePath>../pom.xml</relativePath>
2015-01-27 21:56:32 -05:00
</parent>
2015-01-27 21:56:32 -05:00
<groupId>ca.uhn.hapi.example</groupId>
<artifactId>hapi-fhir-jpaserver-example</artifactId>
<packaging>war</packaging>
<name>HAPI FHIR JPA Server - Example</name>
<repositories>
<repository>
<id>oss-snapshots</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
<dependencies>
<!-- This dependency includes the core HAPI-FHIR classes -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-base</artifactId>
2015-07-14 18:08:06 -04:00
<version>1.2-SNAPSHOT</version>
2015-01-27 21:56:32 -05:00
</dependency>
2015-01-27 21:56:32 -05:00
<!-- At least one "structures" JAR must also be included -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-structures-dstu</artifactId>
2015-07-14 18:08:06 -04:00
<version>1.2-SNAPSHOT</version>
2015-01-27 21:56:32 -05:00
</dependency>
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
2015-02-14 16:14:52 -05:00
<artifactId>hapi-fhir-structures-dstu2</artifactId>
2015-07-14 18:08:06 -04:00
<version>1.2-SNAPSHOT</version>
2015-01-27 21:56:32 -05:00
</dependency>
<!-- This dependency includes the JPA server itself, which is packaged
separately from the rest of HAPI FHIR -->
2015-01-27 21:56:32 -05:00
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-jpaserver-base</artifactId>
2015-07-14 18:08:06 -04:00
<version>1.2-SNAPSHOT</version>
2015-01-27 21:56:32 -05:00
</dependency>
<!-- This dependency is used for the "FHIR Tester" web app overlay -->
<dependency>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
2015-07-14 18:08:06 -04:00
<version>1.2-SNAPSHOT</version>
2015-01-27 21:56:32 -05:00
<type>war</type>
<scope>provided</scope>
2015-01-27 21:56:32 -05:00
</dependency>
<!-- HAPI-FHIR uses Logback for logging support. The logback library is
included automatically by Maven as a part of the hapi-fhir-base dependency,
but you also need to include a logging library. Logback is used here, but
log4j would also be fine. -->
2015-01-27 21:56:32 -05:00
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<!-- Needed for JEE/Servlet support -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- If you are using HAPI narrative generation, you will need to include
Thymeleaf as well. Otherwise the following can be omitted. -->
2015-01-27 21:56:32 -05:00
<dependency>
<groupId>org.thymeleaf</groupId>
<artifactId>thymeleaf</artifactId>
2015-08-16 22:09:01 -04:00
<version>${thymeleaf-version}</version>
2015-01-27 21:56:32 -05:00
</dependency>
<!-- Used for CORS support -->
<dependency>
<groupId>org.ebaysf.web</groupId>
<artifactId>cors-filter</artifactId>
<version>1.0.1</version>
<exclusions>
<exclusion>
<artifactId>servlet-api</artifactId>
<groupId>javax.servlet</groupId>
</exclusion>
</exclusions>
</dependency>
<!-- Spring Web is used to deploy the server to a web container. -->
2015-01-27 21:56:32 -05:00
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>4.1.3.RELEASE</version>
<scope>provided</scope>
</dependency>
<!-- You may not need this if you are deploying to an application server
which provides database connection pools itself. -->
2015-01-27 21:56:32 -05:00
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-dbcp2</artifactId>
</dependency>
<!-- This example uses Derby embedded database. If you are using another
database such as Mysql or Oracle, you may omit the following dependencies
and replace them with an appropriate database client dependency for your
database platform. -->
2015-01-27 21:56:32 -05:00
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbynet</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbyclient</artifactId>
</dependency>
2015-08-16 22:09:01 -04:00
<!--
The following dependencies are only needed for automated unit tests,
you do not neccesarily need them to run the example.
2015-08-16 22:09:01 -04:00
-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</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>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
2015-08-16 22:09:01 -04:00
<scope>test</scope>
</dependency>
2015-01-27 21:56:32 -05:00
</dependencies>
<build>
<!-- Tells Maven to name the generated WAR file as hapi-fhir-jpaserver-example.war -->
2015-01-27 21:56:32 -05:00
<finalName>hapi-fhir-jpaserver-example</finalName>
<!-- The following is not required for the application to build, but allows
you to test it by issuing "mvn jetty:run" from the command line. -->
2015-01-27 21:56:32 -05:00
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
2015-02-03 17:53:22 -05:00
<configuration>
<webApp>
<contextPath>/hapi-fhir-jpaserver-example</contextPath>
</webApp>
</configuration>
2015-01-27 21:56:32 -05:00
</plugin>
</plugins>
</pluginManagement>
2015-01-27 21:56:32 -05:00
<plugins>
<!-- Tell Maven which Java source version you want to use -->
2015-01-27 21:56:32 -05:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<!-- The configuration here tells the WAR plugin to include the FHIR Tester
overlay. You can omit it if you are not using that feature. -->
2015-01-27 21:56:32 -05:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>ca.uhn.hapi.fhir</groupId>
<artifactId>hapi-fhir-testpage-overlay</artifactId>
</overlay>
</overlays>
</configuration>
</plugin>
<!-- This plugin is just a part of the HAPI internal build process, you
do not need to incude it in your own projects -->
2015-01-27 21:56:32 -05:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
2015-01-27 21:56:32 -05:00
</configuration>
</plugin>
2015-01-27 21:56:32 -05:00
</plugins>
</build>
</project>