2014-05-12 08:38:06 -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-04-03 14:30:49 -04:00
<modelVersion > 4.0.0</modelVersion>
<groupId > ca.uhn.hapi.example</groupId>
<artifactId > restful-server-example</artifactId>
2014-07-29 09:10:25 -04:00
<version > 0.5-SNAPSHOT</version>
2014-04-03 14:30:49 -04:00
<packaging > war</packaging>
2014-04-24 12:25:47 -04:00
<name > Sample RESTful Server (HAPI-FHIR)</name>
2014-04-03 14:30:49 -04:00
<dependencies >
<!-- This dependency includes all neccesary HAPI FHIR classes -->
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-base</artifactId>
2014-07-15 18:36:13 -04:00
<version > 0.5-SNAPSHOT</version>
2014-04-03 14:30:49 -04:00
</dependency>
2014-07-29 09:10:25 -04:00
<!-- This dependency is used for the "test page" web app overlay -->
<dependency >
<groupId > ca.uhn.hapi.fhir</groupId>
<artifactId > hapi-fhir-testpage-overlay</artifactId>
<version > 0.5-SNAPSHOT</version>
<type > war</type>
<scope > provided</scope>
</dependency>
2014-05-13 09:01:52 -04:00
<!-- 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
2014-05-12 08:38:06 -04:00
logging library. Logback is used here, but log4j would also be fine. -->
2014-04-03 14:30:49 -04:00
<dependency >
<groupId > ch.qos.logback</groupId>
<artifactId > logback-classic</artifactId>
<version > 1.1.1</version>
</dependency>
<!-- Needed for JEE/Servlet support -->
<dependency >
<groupId > javax.servlet</groupId>
<artifactId > javax.servlet-api</artifactId>
<version > 3.0.1</version>
<scope > provided</scope>
</dependency>
2014-05-21 08:04:00 -04:00
<!--
If you are using HAPI narrative generation, you will need to include Thymeleaf
as well. Otherwise the following can be omitted.
-->
<dependency >
<groupId > org.thymeleaf</groupId>
<artifactId > thymeleaf</artifactId>
2014-07-02 15:24:29 -04:00
<version > 2.1.3.RELEASE</version>
2014-05-21 08:04:00 -04:00
<optional > true</optional>
</dependency>
2014-04-03 14:30:49 -04:00
</dependencies>
<build >
<plugins >
2014-07-29 09:10:25 -04:00
<!--
Tell Maven which Java source version you want to use
-->
2014-04-03 14:30:49 -04:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-compiler-plugin</artifactId>
<version > 3.1</version>
<configuration >
<source > 1.6</source>
<target > 1.6</target>
</configuration>
</plugin>
2014-07-29 09:10:25 -04:00
<!--
The configuration here tells the WAR plugin to include the test
page overlay. You can omit it if you are not using that feature.
-->
<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
-->
2014-05-12 08:38:06 -04:00
<plugin >
<groupId > org.apache.maven.plugins</groupId>
<artifactId > maven-deploy-plugin</artifactId>
<configuration >
2014-07-29 09:10:25 -04:00
<skip > false</skip>
2014-05-12 08:38:06 -04:00
</configuration>
</plugin>
2014-05-13 09:01:52 -04:00
2014-04-03 14:30:49 -04:00
</plugins>
</build>
2014-05-12 08:38:06 -04:00
2014-04-03 14:30:49 -04:00
</project>