<?xml version="1.0" encoding="UTF-8"?>
<!--
 * SCIE - Spinal Cord Injury Ontology Extraction
 * Copyright (C) 2013, 2014
 * Raphael Dickfelder, Jan Göpfert, Benjamin Paaßen, Andreas Stöckel
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see http://www.gnu.org/licenses/.
-->
<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>scie-classifiers</artifactId>
	<version>2.0</version>
	<packaging>jar</packaging>
	<name>SCIE Classifiers</name>
	<description>Library based on liblinear which allows to aggregate multiple 
		UIMA annotations to compound UIMA annotations/higher order concepts/
		relations by employing machine learning techniques.</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/scie-classifiers</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>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.uima</groupId>
			<artifactId>uimaj-core</artifactId>
			<version>2.4.2</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.uima</groupId>
			<artifactId>uimafit-core</artifactId>
			<version>2.0.0</version>
		</dependency>
		<dependency>
			<groupId>de.bwaldvogel</groupId>
			<artifactId>liblinear</artifactId>
			<version>1.94</version>
		</dependency>
		<dependency>
			<groupId>${project.groupId}</groupId>
			<artifactId>scie-typesystem</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>
