<?xml version="1.0" encoding="UTF-8"?>
<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>
  <groupId>info.textgrid.middleware</groupId>
  <artifactId>oaipmh</artifactId>
  <version>2.4.10-BETA</version>
  <packaging>pom</packaging>
  <name>DARIAHDE :: OAI-PMH DataProvider</name>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <cxf.version>3.1.7</cxf.version>
    <tgcrud.version>6.0.0</tgcrud.version>
    <spring.version>4.0.2.RELEASE</spring.version>
    <textgrid.httpclients.version>2.0.0</textgrid.httpclients.version>
    <jetty.version>6.1.15</jetty.version>
    <elasticsearch.version>1.7.5</elasticsearch.version>
    <antlr-runtime.version>3.2</antlr-runtime.version>
    <antlr-maven-plugin.version>3.2</antlr-maven-plugin.version>
    <slf4j.version>1.7.5</slf4j.version>
    <junit.version>4.11</junit.version>
    <jdk.version>1.7</jdk.version>
    <maven-antrun-plugin.version>1.3</maven-antrun-plugin.version>
  </properties>
  <url>https://projects.gwdg.de/projects/oai-pmh</url>
  <scm>
    <connection>scm:git@git.projects.gwdg.de:oai-pmh.git</connection>
    <developerConnection>scm:git@git.projects.gwdg.de:oai-pmh.git</developerConnection>
    <url>https://projects.gwdg.de/projects/oai-pmh</url>
  </scm>
  <issueManagement>
    <system>chili</system>
    <url>https://projects.gwdg.de/projects/tg/issues</url>
  </issueManagement>
  <licenses>
    <license>
      <name>GNU LESSER GENERAL PUBLIC LICENSE</name>
      <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>SUB Göttingen</name>
    <url>http://www.sub.uni-goettingen.de</url>
  </organization>
  <build>
    <defaultGoal>package</defaultGoal>
    <plugins>
      <plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-compiler-plugin</artifactId>
	<version>2.0.2</version>
	<configuration>
	  <source>${jdk.version}</source>
	  <target>${jdk.version}</target>
	  <fork>true</fork>
	  <showDeprecation>true</showDeprecation>
	  <showWarnings>true</showWarnings>
	  <encoding>UTF-8</encoding>
	</configuration>
      </plugin>      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
	<version>2.9</version>
        <configuration>
          <downloadSources>true</downloadSources>
	  <downloadJavadocs>true</downloadJavadocs>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.eclipse.jetty</groupId>
        <artifactId>jetty-maven-plugin</artifactId>
        <version>9.2.2.v20140723</version>
      </plugin>
    </plugins>
  </build>
  <modules>
    <module>oaipmh-core</module>
    <module>oaipmh-webapp</module>
  </modules>  
  <repositories>
    <repository>
      <id>nexus.dariah</id>
      <name>DARIAH 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>
  <distributionManagement>
    <snapshotRepository>
      <id>dariah.nexus.snapshots</id>
      <url>http://dev.dariah.eu/nexus/content/repositories/snapshots</url>
    </snapshotRepository>
    <repository>
      <id>dariah.nexus.releases</id>
      <url>http://dev.dariah.eu/nexus/content/repositories/releases</url>
    </repository>
  </distributionManagement>
</project>