<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-deployable-pom</artifactId>
		<version>0.9-SNAPSHOT</version>
		<relativePath>../hapi-deployable-pom/pom.xml</relativePath>
	</parent>

	<artifactId>hapi-fhir-structures-dev</artifactId>
	<packaging>jar</packaging>

	<name>HAPI FHIR Structures - DEV (FHIR Latest)</name>

	<dependencies>
		<dependency>
			<groupId>ca.uhn.hapi.fhir</groupId>
			<artifactId>hapi-fhir-base</artifactId>
			<version>0.9-SNAPSHOT</version>
		</dependency>

		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
			<version>${servlet_api_version}</version>
			<scope>provided</scope>
		</dependency>

		<!-- Testing -->
		<!-- <dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-structures-dstu</artifactId> 
			<version>0.8</version> <scope>test</scope> </dependency> -->
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>xmlunit</groupId>
			<artifactId>xmlunit</artifactId>
			<version>1.5</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlets</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlet</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-server</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-servlet</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-util</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-webapp</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.eclipse.jetty</groupId>
			<artifactId>jetty-http</artifactId>
			<version>${jetty_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
			<version>${logback_version}</version>
			<optional>true</optional>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.ebaysf.web</groupId>
			<artifactId>cors-filter</artifactId>
			<version>${ebay_cors_filter_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.thymeleaf</groupId>
			<artifactId>thymeleaf</artifactId>
			<version>${thymeleaf-version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.phloc</groupId>
			<artifactId>phloc-schematron</artifactId>
			<version>${phloc_schematron_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.phloc</groupId>
			<artifactId>phloc-commons</artifactId>
			<version>${phloc_commons_version}</version>
			<scope>test</scope>
		</dependency>


		<!-- UNIT TEST DEPENDENCIES -->
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.9.5</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>net.sf.json-lib</groupId>
			<artifactId>json-lib</artifactId>
			<version>2.4</version>
			<classifier>jdk15</classifier>
			<scope>test</scope>
			<exclusions>
				<exclusion>
					<artifactId>commons-logging</artifactId>
					<groupId>commons-logging</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>net.sf.json-lib</groupId>
			<artifactId>json-lib</artifactId>
			<version>2.4</version>
			<classifier>jdk15-sources</classifier>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>directory-naming</groupId>
			<artifactId>naming-java</artifactId>
			<version>0.8</version>
			<scope>test</scope>
			<exclusions>
				<exclusion>
					<artifactId>commons-logging</artifactId>
					<groupId>commons-logging</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>java-hamcrest</artifactId>
			<version>${hamcrest_version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>${guava_version}</version>
			<scope>test</scope>
		</dependency>
		<!-- <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> 
			<version>${spring_security_version}</version> <scope>test</scope> </dependency> 
			<dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-config</artifactId> 
			<version>${spring_security_version}</version> <scope>test</scope> </dependency> 
			<dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-jwt</artifactId> 
			<version>1.0.2.RELEASE</version> <scope>test</scope> </dependency> -->

	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>ca.uhn.hapi.fhir</groupId>
				<artifactId>hapi-tinder-plugin</artifactId>
				<version>0.9-SNAPSHOT</version>
				<executions>
					<execution>
						<goals>
							<goal>generate-structures</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<package>ca.uhn.fhir.model.dev</package>
					<version>dev</version>
					<baseResourceNames>
						<baseResourceName>Condition</baseResourceName>
						<baseResourceName>Supply</baseResourceName>
						<baseResourceName>DeviceComponent</baseResourceName>
						<baseResourceName>Communication</baseResourceName>
						<baseResourceName>Group</baseResourceName>
						<baseResourceName>ValueSet</baseResourceName>
						<baseResourceName>OralHealthClaim</baseResourceName>
						<baseResourceName>Coverage</baseResourceName>
						<baseResourceName>Appointment</baseResourceName>
						<baseResourceName>Slot</baseResourceName>
						<baseResourceName>Contraindication</baseResourceName>
						<baseResourceName>Composition</baseResourceName>
						<baseResourceName>EpisodeOfCare</baseResourceName>
						<baseResourceName>Conformance</baseResourceName>
						<baseResourceName>NamingSystem</baseResourceName>
						<baseResourceName>HealthcareService</baseResourceName>
						<baseResourceName>OrderResponse</baseResourceName>
						<baseResourceName>StatusResponse</baseResourceName>
						<baseResourceName>ConceptMap</baseResourceName>
						<baseResourceName>PharmacyClaim</baseResourceName>
						<baseResourceName>Reversal</baseResourceName>
						<baseResourceName>Practitioner</baseResourceName>
						<baseResourceName>CarePlan</baseResourceName>
						<baseResourceName>ClinicalAssessment</baseResourceName>
						<baseResourceName>Substance</baseResourceName>
						<baseResourceName>DeviceUseRequest</baseResourceName>
						<baseResourceName>Schedule</baseResourceName>
						<baseResourceName>EligibilityRequest</baseResourceName>
						<baseResourceName>QuestionnaireAnswers</baseResourceName>
						<baseResourceName>PaymentReconciliation</baseResourceName>
						<baseResourceName>ProfessionalClaim</baseResourceName>
						<baseResourceName>ImagingObjectSelection</baseResourceName>
						<baseResourceName>OperationDefinition</baseResourceName>
						<baseResourceName>ClaimResponse</baseResourceName>
						<baseResourceName>BodySite</baseResourceName>
						<baseResourceName>CommunicationRequest</baseResourceName>
						<baseResourceName>RiskAssessment</baseResourceName>
						<baseResourceName>Observation</baseResourceName>
						<baseResourceName>AllergyIntolerance</baseResourceName>
						<baseResourceName>ExplanationOfBenefit</baseResourceName>
						<baseResourceName>SupportingDocumentation</baseResourceName>
						<baseResourceName>RelatedPerson</baseResourceName>
						<baseResourceName>InstitutionalClaim</baseResourceName>
						<baseResourceName>Alert</baseResourceName>
						<baseResourceName>AuditEvent</baseResourceName>
						<baseResourceName>EligibilityResponse</baseResourceName>
						<baseResourceName>StatusRequest</baseResourceName>
						<baseResourceName>Person</baseResourceName>
						<baseResourceName>ProcedureRequest</baseResourceName>
						<baseResourceName>VisionClaim</baseResourceName>
						<baseResourceName>DeviceMetric</baseResourceName>
						<baseResourceName>Organization</baseResourceName>
						<baseResourceName>Readjudicate</baseResourceName>
						<baseResourceName>ImmunizationRecommendation</baseResourceName>
						<baseResourceName>MedicationDispense</baseResourceName>
						<baseResourceName>MedicationPrescription</baseResourceName>
						<baseResourceName>PaymentNotice</baseResourceName>
						<baseResourceName>MedicationStatement</baseResourceName>
						<baseResourceName>AppointmentResponse</baseResourceName>
						<baseResourceName>Questionnaire</baseResourceName>
						<baseResourceName>OperationOutcome</baseResourceName>
						<baseResourceName>Media</baseResourceName>
						<baseResourceName>Other</baseResourceName>
						<baseResourceName>VisionPrescription</baseResourceName>
						<baseResourceName>DocumentReference</baseResourceName>
						<baseResourceName>Immunization</baseResourceName>
						<baseResourceName>Subscription</baseResourceName>
						<baseResourceName>ImagingStudy</baseResourceName>
						<baseResourceName>Provenance</baseResourceName>
						<baseResourceName>Device</baseResourceName>
						<baseResourceName>StructureDefinition</baseResourceName>
						<baseResourceName>Order</baseResourceName>
						<baseResourceName>Procedure</baseResourceName>
						<baseResourceName>DiagnosticReport</baseResourceName>
						<baseResourceName>Medication</baseResourceName>
						<baseResourceName>MessageHeader</baseResourceName>
						<baseResourceName>DataElement</baseResourceName>
						<baseResourceName>DocumentManifest</baseResourceName>
						<baseResourceName>MedicationAdministration</baseResourceName>
						<baseResourceName>Encounter</baseResourceName>
						<baseResourceName>PendedRequest</baseResourceName>
						<baseResourceName>List</baseResourceName>
						<baseResourceName>DeviceUseStatement</baseResourceName>
						<baseResourceName>Goal</baseResourceName>
						<baseResourceName>NutritionOrder</baseResourceName>
						<baseResourceName>SearchParameter</baseResourceName>
						<baseResourceName>ReferralRequest</baseResourceName>
						<baseResourceName>FamilyHistory</baseResourceName>
						<baseResourceName>EnrollmentRequest</baseResourceName>
						<baseResourceName>Location</baseResourceName>
						<baseResourceName>Contract</baseResourceName>
						<baseResourceName>Basic</baseResourceName>
						<baseResourceName>Specimen</baseResourceName>
						<baseResourceName>EnrollmentResponse</baseResourceName>
						<baseResourceName>Patient</baseResourceName>
						<baseResourceName>CarePlan2</baseResourceName>
						<baseResourceName>DiagnosticOrder</baseResourceName>
						<baseResourceName>Parameters</baseResourceName>
					</baseResourceNames>
					<buildDatatypes>true</buildDatatypes>
				</configuration>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<!--This plugin's configuration is used to store Eclipse m2e settings 
					only. It has no influence on the Maven build itself. -->
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>ca.uhn.hapi.fhir</groupId>
										<artifactId>hapi-tinder-plugin</artifactId>
										<versionRange>[0.4-SNAPSHOT,)</versionRange>
										<goals>
											<goal>generate-structures</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
										<ignore></ignore>
									</action>
								</pluginExecution>
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
		<resources>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
			</resource>
			<resource>
				<directory>${basedir}/target/generated-sources/tinder</directory>
			</resource>
			<resource>
				<directory>${basedir}/target/generated-resources/tinder</directory>
			</resource>
		</resources>
	</build>

	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>${maven_javadoc_plugin_version}</version>
				<configuration>
				</configuration>
			</plugin>
		</plugins>
	</reporting>

</project>
