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>
|
|
|
|
|
2014-10-24 15:43:35 -04:00
|
|
|
<!--
|
2015-09-15 10:49:55 -04:00
|
|
|
HAPI projects use the HAPI-FHIR base POM as their base. You don't need this
|
|
|
|
for your own projects. One thing to note though:
|
2014-10-23 08:12:58 -04:00
|
|
|
-->
|
2014-08-07 18:41:33 -04:00
|
|
|
<parent>
|
2015-09-15 10:49:55 -04:00
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir</artifactId>
|
2018-11-12 05:40:55 -05:00
|
|
|
<version>3.6.0</version>
|
2015-09-15 10:49:55 -04:00
|
|
|
<relativePath>../pom.xml</relativePath>
|
2014-08-07 18:41:33 -04:00
|
|
|
</parent>
|
2014-08-09 12:18:47 -04:00
|
|
|
|
2014-04-03 14:30:49 -04:00
|
|
|
<artifactId>restful-server-example</artifactId>
|
|
|
|
<packaging>war</packaging>
|
|
|
|
|
2014-09-04 18:03:19 -04:00
|
|
|
<name>HAPI FHIR Sample RESTful Server</name>
|
2014-04-03 14:30:49 -04:00
|
|
|
|
2014-08-09 12:18:47 -04:00
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>oss-snapshots</id>
|
|
|
|
<snapshots>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
</snapshots>
|
|
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
|
2014-04-03 14:30:49 -04:00
|
|
|
<dependencies>
|
|
|
|
|
2014-10-17 18:08:37 -04:00
|
|
|
<!-- This dependency includes the core HAPI-FHIR classes -->
|
2014-04-03 14:30:49 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-base</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2014-04-03 14:30:49 -04:00
|
|
|
</dependency>
|
2017-08-13 14:39:47 -04:00
|
|
|
|
|
|
|
<!-- Include the HAPI server framework -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-server</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
2014-10-17 18:08:37 -04:00
|
|
|
<!-- At least one "structures" JAR must also be included -->
|
2014-10-16 17:19:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
2015-04-21 13:30:58 -04:00
|
|
|
<artifactId>hapi-fhir-structures-dstu2</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2014-10-16 17:19:27 -04:00
|
|
|
</dependency>
|
2014-04-03 14:30:49 -04:00
|
|
|
|
2014-08-01 07:35:44 -04:00
|
|
|
<!-- This dependency is used for the "FHIR Tester" web app overlay -->
|
2014-07-29 09:10:25 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-testpage-overlay</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2014-07-29 09:10:25 -04:00
|
|
|
<type>war</type>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-10-17 09:39:27 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>ca.uhn.hapi.fhir</groupId>
|
|
|
|
<artifactId>hapi-fhir-testpage-overlay</artifactId>
|
2017-01-29 13:22:28 -05:00
|
|
|
<version>${project.version}</version>
|
2015-10-17 09:39:27 -04:00
|
|
|
<classifier>classes</classifier>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-07-29 09:10:25 -04:00
|
|
|
|
2014-10-23 08:12:58 -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 logging library. Logback is used here, but log4j
|
2016-02-15 10:05:39 -05:00
|
|
|
would also be fine.
|
|
|
|
|
|
|
|
Note on Dependency Versions: This POM file inherits
|
|
|
|
versions (<version>1.0</version>) in each dependency and plugin
|
|
|
|
from the parent pom.xml file. If you want to use this POM as the basis
|
|
|
|
for your own project, you'll need to manually add versions to the
|
|
|
|
dependencies below.
|
2014-10-23 08:12:58 -04:00
|
|
|
-->
|
2014-04-03 14:30:49 -04: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>
|
|
|
|
|
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>
|
|
|
|
</dependency>
|
|
|
|
|
2014-08-08 07:33:12 -04:00
|
|
|
<!-- Used for CORS support -->
|
|
|
|
<dependency>
|
2016-11-22 06:33:20 -05:00
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
2014-08-08 07:33:12 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
2014-04-03 14:30:49 -04:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
2014-08-01 07:35:44 -04:00
|
|
|
|
2014-08-28 09:44:04 -04:00
|
|
|
<!--
|
|
|
|
Tells Maven to name the generated WAR file as
|
|
|
|
restful-server-example.war
|
|
|
|
-->
|
|
|
|
<finalName>restful-server-example</finalName>
|
|
|
|
|
2014-08-01 07:35:44 -04:00
|
|
|
<!--
|
|
|
|
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.
|
|
|
|
-->
|
2014-07-29 15:59:11 -04:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
|
2014-04-03 14:30:49 -04:00
|
|
|
<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>
|
|
|
|
<configuration>
|
2017-08-13 14:39:47 -04:00
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
2014-04-03 14:30:49 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-07-29 09:10:25 -04:00
|
|
|
|
|
|
|
<!--
|
2014-08-01 07:35:44 -04:00
|
|
|
The configuration here tells the WAR plugin to include the FHIR Tester
|
|
|
|
overlay. You can omit it if you are not using that feature.
|
2014-07-29 09:10:25 -04: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
|
|
|
|
-->
|
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-07-29 15:59:11 -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>
|