<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>

	<!-- 
	HAPI projects use the Sonatype OSS parent project. 
	You do not need to use this in your own projects.
	-->
	<parent>
		<groupId>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>

	<groupId>ca.uhn.hapi.example</groupId>
	<artifactId>hapi-fhir-example-skeleton-project</artifactId>
	<version>0.7</version>
	<packaging>jar</packaging>

	<name>HAPI FHIR Example - Skeleton Project</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>
			<version>0.7</version>
		</dependency>
		<!-- 
		Beginning in HAPI 0.8, at least one "structures" JAR must also be included.
		For now it is commented out. 
		-->
		<!-- 
		<dependency>
			<groupId>ca.uhn.hapi.fhir</groupId>
			<artifactId>hapi-fhir-structures-dstu</artifactId>
			<version>0.8-SNAPSHOT</version>
		</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. 
		-->
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<version>1.1.2</version>
		</dependency>

		<!--
		The following two dependencies are required only if you are using
		Schematron resource validation. Otherwise, they may be omitted. 
		-->
		<dependency>
		    <groupId>com.phloc</groupId>
		    <artifactId>phloc-schematron</artifactId>
		    <version>2.7.1</version>
		</dependency>
		<dependency>
		    <groupId>com.phloc</groupId>
		    <artifactId>phloc-commons</artifactId>
		    <version>4.3.3</version>
		</dependency>

		<!-- 
		The following dependency is only required for narrative generator 
		support. If you are not using this, it may be removed. 
		-->
		<dependency>
			<groupId>org.thymeleaf</groupId>
			<artifactId>thymeleaf</artifactId>
			<version>2.1.3.RELEASE</version>
		</dependency>

	</dependencies>

	<build>
		
		<plugins>
			<!-- 
			Tell Maven which Java source version you want to use
			-->
			<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>
			
			<!-- 
			This plugin is just a part of the HAPI internal build process, you do not
			need to incude it in your own projects
			-->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-deploy-plugin</artifactId>
				<configuration>
					<skip>false</skip>
				</configuration>
			</plugin>
    		
		</plugins>
	</build>

</project>