<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>
		<artifactId>oaipmh</artifactId>
		<groupId>info.textgrid.middleware</groupId>
		<version>1.3.25-SNAPSHOT</version>
	</parent>
	<groupId>info.textgrid.middleware</groupId>
	<artifactId>oaipmh-core</artifactId>
	<version>1.3.25-SNAPSHOT</version>
	<packaging>jar</packaging>
	<name>TextGrid :: TG-OAI-PMH :: Core</name>
	<url>http://maven.apache.org</url>
	<dependencies>
		<dependency>
			<groupId>info.textgrid.middleware</groupId>
			<artifactId>tgcrud-common</artifactId>
			<version>${tgcrud.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-rs-security-cors</artifactId>
			<version>${cxf.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-rs-client</artifactId>
			<version>${cxf.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.cxf</groupId>
			<artifactId>cxf-rt-frontend-jaxrs</artifactId>
			<version>${cxf.version}</version>
		</dependency>
		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>jsr311-api</artifactId>
			<version>1.0</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.1</version>
		</dependency>
		<dependency>
			<groupId>org.elasticsearch</groupId>
			<artifactId>elasticsearch</artifactId>
			<version>${elasticsearch.version}</version>
		</dependency>
		<dependency>
			<groupId>info.textgrid.utils</groupId>
			<artifactId>httpclients</artifactId>
			<version>${textgrid.httpclients.version}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>${slf4j.version}</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>jcl-over-slf4j</artifactId>
			<version>${slf4j.version}</version>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-log4j12</artifactId>
			<version>${slf4j.version}</version>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.14</version>
		</dependency>
	</dependencies>
	<repositories>
		<repository>
			<id>nexus.snapshots</id>
			<name>DARIA nexus public Repository</name>
			<url>http://dev.dariah.eu/nexus/content/groups/public</url>
			<releases>
				<enabled>true</enabled>
			</releases>
			<snapshots>
				<enabled>true</enabled>
			</snapshots>
		</repository>
	</repositories>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<version>2.5.1</version>
				</plugin>
			</plugins>
		</pluginManagement>
		<plugins>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>jaxb2-maven-plugin</artifactId>
				<version>1.5</version>
				<executions>
					<execution>
						<id>oaipmhDCSchema-xjc</id>
						<goals>
							<goal>xjc</goal>
						</goals>
						<configuration>
							<schemaFile>oai_dc.xsd</schemaFile>
							<packageName>info.textgrid.middleware.oaidc</packageName>
							<schemaDirectory>src/main/xsd</schemaDirectory>
						    <schemaIncludes>
          						<include>oai_dc.xsd</include>
        					</schemaIncludes>
							<generateDirectory>${project.build.directory}/generated-sources/xjc1</generateDirectory>
							<staleFile>${project.build.directory}/jaxb2/.oaiDCSchemaXjcStaleFlag</staleFile>
							<clearOutputDir>false</clearOutputDir>
						</configuration>
					</execution>
					<execution>
						<id>oaipmhSchema-xjc</id>
						<goals>
							<goal>xjc</goal>
						</goals>
						<configuration>
							<schemaFile>oai_pmh.xsd</schemaFile>
							<packageName>info.textgrid.middleware.oaipmh</packageName>
							<schemaDirectory>src/main/xsd</schemaDirectory>
							<schemaIncludes>
          						<include>oai_pmh.xsd</include>
        					</schemaIncludes>
							<generateDirectory>${project.build.directory}/generated-sources/xjc2</generateDirectory>
							<staleFile>${project.build.directory}/jaxb2/.oaipmhSchemaXjcStaleFlag</staleFile>
							<clearOutputDir>false</clearOutputDir>
						</configuration>
					</execution>


				</executions>
			</plugin>
		</plugins>
	</build>
</project>