<?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>de.cit-ec.scie</groupId>
	<artifactId>ner-mapdb</artifactId>
	<version>2.0</version>
	<packaging>jar</packaging>
	<name>NER MapDB</name>
	<description>Provides a binding between the NER subsystem and the MapDB 
		database for storing large ontologies, capable of managing hundred 
		thousands of individual surface forms and ten thousands of ontology 
		graph node.</description>
	<url>http://openresearch.cit-ec.de/projects/scie/</url>
	<licenses>
		<license>
			<name>The GNU Affero General Public License, Version 3</name>
			<url>https://gnu.org/licenses/agpl.html</url>
		</license>
	</licenses>
	<developers>
		<developer>
			<name>Raphael Dickfelder</name>
			<organization>Centre of Excellence - Cognitive Interaction Technology (CITEC), 
				Faculty of Technology, 
				Bielefeld University</organization>
			<organizationUrl>https://www.cit-ec.de/</organizationUrl>
		</developer>
		<developer>
			<name>Jan Göpfert</name>
			<organization>Centre of Excellence - Cognitive Interaction Technology (CITEC), 
				Faculty of Technology, 
				Bielefeld University</organization>
			<organizationUrl>https://www.cit-ec.de/</organizationUrl>
		</developer>
		<developer>
			<name>Benjamin Paaßen</name>
			<email>bpaassen@techfak.uni-bielefeld.de</email>
			<organization>Centre of Excellence - Cognitive Interaction Technology (CITEC), 
				Faculty of Technology, 
				Bielefeld University</organization>
			<organizationUrl>https://www.cit-ec.de/</organizationUrl>
		</developer>
		<developer>
			<name>Andreas Stöckel</name>
			<email>astoecke@techfak.uni-bielefeld.de</email>
			<organization>Centre of Excellence - Cognitive Interaction Technology (CITEC), 
				Faculty of Technology, 
				Bielefeld University</organization>
			<organizationUrl>https://www.cit-ec.de/</organizationUrl>
		</developer>
	</developers>
	<scm>
		<connection>scm:git:https://opensource.cit-ec.de/git/scie</connection>
		<developerConnection>scm:git:https://opensource.cit-ec.de/git/scie</developerConnection>
		<url>https://opensource.cit-ec.de/projects/scie/repository/revisions/master/show/modules/ner-mapdb</url>
	</scm>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<maven.compiler.source>1.8</maven.compiler.source>
		<maven.compiler.target>1.8</maven.compiler.target>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.mapdb</groupId>
			<artifactId>mapdb</artifactId>
			<version>1.0.4</version>
		</dependency>
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>ner-core</artifactId>
			<version>${project.version}</version>
		</dependency>
	</dependencies>
	
	
	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
	</distributionManagement>
	
	<!-- This is a special profile for deploying a version, which generates
	everything the mvn central repository requires. For all non-deploying builds
	this is irrelevant. -->
	<profiles>
		<profile> 
			<id>release</id>
			<build>
				<plugins>
					<!-- Nexus Staging Plugin for Deploying to central repository -->
					<plugin>
						<groupId>org.sonatype.plugins</groupId>
						<artifactId>nexus-staging-maven-plugin</artifactId>
						<version>1.6.3</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>true</autoReleaseAfterClose>
						</configuration>
					</plugin>
					<!-- Maven Source Plugin for generating a jar containing all sources.
					This is required by the maven central repository. -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>2.2.1</version>
						<executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<!-- Maven Javadoc Plugin for generating a jar containing all javadoc.
					This is required by the maven central repository. -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<!-- Maven PGP Plugin for generating a pgp signature of the project.
					This is required by the maven central repository. -->
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>  
		</profile>
	</profiles>
</project>
