<?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>pdf-extractor</artifactId>
	<version>2.0</version>
	<packaging>jar</packaging>
	<name>SCIE PDF Text Extractor</name>
	<description>This is an optimized version of Apache PDFBox. It allows
		to extract the rough structure of a document (pages, blocks of text and
		paragraphs as well as formatting information) and was made with the 
		intent to optimize text extraction results for scientific papers.
		The output can easily be transformed to plaintext (toString) or to
		an XML format (toXML).</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/pdf-extractor</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.apache.pdfbox</groupId>
			<artifactId>pdfbox</artifactId>
			<version>1.8.2</version>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</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>
