<?xml version="1.0" encoding="UTF-8"?>

<!-- ! Licensed to the Apache Software Foundation (ASF) under one or more 
	! contributor license agreements. See the NOTICE file distributed with ! 
	this work for additional information regarding copyright ownership. ! The 
	ASF licenses this file to You under the Apache License, Version 2.0 ! (the 
	"License"); you may not use this file except in compliance with ! the License. 
	You may obtain a copy of the License at ! ! http://www.apache.org/licenses/LICENSE-2.0 
	! ! Unless required by applicable law or agreed to in writing, software ! 
	distributed under the License is distributed on an "AS IS" BASIS, ! WITHOUT 
	WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ! See the 
	License for the specific language governing permissions and ! limitations 
	under the License. ! -->

<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/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>com.github.lafa.pdfbox</groupId>
	<artifactId>pdfbox-parent</artifactId>
	<version>1.0.1</version>
	<packaging>pom</packaging>


	<name>PDFBox parent</name>
	<inceptionYear>2002</inceptionYear>

	<!-- organization>
		<name>The Apache Software Foundation</name>
		<url>http://pdfbox.apache.org</url>
	</organization -->

    <url>https://github.com/lafaspot/pdfbox</url>
    <description>The Apache PDFBox library is an open source Java tool for working with PDF documents.</description>

	<scm>
		<developerConnection>scm:git:https://github.com/lafaspot/pdfbox.git</developerConnection>
		<connection>scm:git:https://github.com/lafaspot/pdfbox.git</connection>
		<url>https://github.com/lafaspot/pdfbox.git</url>
		<tag>pdfbox-1.0.0</tag>
	</scm>

	<issueManagement>
		<system>GitHub</system>
		<url>https://github.com/lafaspot/pdfbox/issues</url>
	</issueManagement>

	<licenses>
		<license>
			<name>Apache License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
	</properties>

	<prerequisites>
		<maven>3.3.1</maven>
	</prerequisites>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>junit</groupId>
				<artifactId>junit</artifactId>
				<version>4.12</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>commons-logging</groupId>
				<artifactId>commons-logging</artifactId>
				<version>1.2</version>
			</dependency>
			<dependency>
				<groupId>commons-io</groupId>
				<artifactId>commons-io</artifactId>
				<version>2.5</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcprov-jdk15on</artifactId>
				<version>1.57</version>
			</dependency>
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcmail-jdk15on</artifactId>
				<version>1.57</version>
			</dependency>
			<dependency>
				<groupId>org.bouncycastle</groupId>
				<artifactId>bcpkix-jdk15on</artifactId>
				<version>1.57</version>
			</dependency>
			<dependency>
				<groupId>log4j</groupId>
				<artifactId>log4j</artifactId>
				<version>1.2.17</version>
			</dependency>

			<!-- For legal reasons (incompatible license), these two dependencies 
				are to be used only in the tests and may not be distributed. See also LEGAL-195 -->
			<dependency>
				<groupId>com.levigo.jbig2</groupId>
				<artifactId>levigo-jbig2-imageio</artifactId>
				<version>2.0</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>com.github.jai-imageio</groupId>
				<artifactId>jai-imageio-core</artifactId>
				<version>1.3.1</version>
				<scope>test</scope>
			</dependency>
			<dependency>
				<groupId>com.github.jai-imageio</groupId>
				<artifactId>jai-imageio-jpeg2000</artifactId>
				<version>1.3.0</version>
				<scope>test</scope>
			</dependency>
		</dependencies>
	</dependencyManagement>

	<profiles>
		<!-- call mvn with -Pjdk9 or call with -Daddmod="...." -->
		<profile>
			<id>jdk9</id>
			<properties>
				<addmod>--add-modules java.activation --add-modules java.xml.bind</addmod>
			</properties>
		</profile>
		<profile>
			<id>pedantic</id>
			<build>
				<plugins>

            <plugin>
                <groupId>org.sonatype.plugins</groupId>
                <artifactId>nexus-staging-maven-plugin</artifactId>
                <version>1.6.7</version>
                <extensions>true</extensions>
                <configuration>
                    <serverId>ossrh</serverId>
                    <nexusUrl>https://oss.sonatype.org/</nexusUrl>
                    <autoReleaseAfterClose>true</autoReleaseAfterClose>
                </configuration>
            </plugin>
					<plugin>
						<groupId>org.apache.rat</groupId>
						<artifactId>apache-rat-plugin</artifactId>
						<executions>
							<execution>
								<phase>verify</phase>
								<goals>
									<goal>check</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.owasp</groupId>
						<artifactId>dependency-check-maven</artifactId>
						<version>3.0.2</version>
						<configuration>
							<failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability>
						</configuration>
						<executions>
							<execution>
								<goals>
									<goal>check</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
        <profile>
            <id>release-sign-artifacts</id>
            <activation>
                <property>
                    <name>performRelease</name>
                    <value>true</value>
                </property>
            </activation>
        </profile>
	</profiles>

	<build>
		<plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-gpg-plugin</artifactId>
                        <version>1.6</version>
                        <executions>
                            <execution>
                                <id>sign-artifacts</id>
                                <phase>verify</phase>
                                <goals>
                                    <goal>sign</goal>
                                </goals>
                            </execution>
                        </executions>
                    </plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<showDeprecation>true</showDeprecation>
					<target>1.7</target>
					<source>1.7</source>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-javadoc-plugin</artifactId>
				<configuration>
					<source>1.7</source>
					<links>
						<link>http://download.oracle.com/javase/1.7.0/docs/api/</link>
					</links>
					<encoding>UTF-8</encoding>
					<notimestamp>true</notimestamp>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<useReleaseProfile>false</useReleaseProfile>
					<goals>deploy</goals>
					<arguments>-Papache-release,pedantic</arguments>
					<autoVersionSubmodules>true</autoVersionSubmodules>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<configuration>
					<archive>
						<manifest>
							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
							<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
						</manifest>
					</archive>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.rat</groupId>
					<artifactId>apache-rat-plugin</artifactId>
					<version>0.12</version>
					<configuration>
						<excludes>
							<exclude>release.properties</exclude>
						</excludes>
					</configuration>
				</plugin>
				<plugin>
					<groupId>org.apache.felix</groupId>
					<artifactId>maven-bundle-plugin</artifactId>
					<version>3.3.0</version>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>

	<!-- Developers listed by PMC Chair, PMC all alphabetical -->
	<developers>
		<developer>
			<id>lehmi</id>
			<name>Andreas Lehmkühler</name>
			<roles>
				<role>PMC Chair</role>
			</roles>
		</developer>
		<developer>
			<id>adam</id>
			<name>Adam Nichols</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>blitchfield</id>
			<name>Ben Litchfield</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>carrier</id>
			<name>Brian Carrier</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>danielwilson</id>
			<name>Daniel Wilson</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>gbailleul</id>
			<name>Guillaume Bailleul</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>hennejg</id>
			<name>Jörg Henne</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>holdersn</id>
			<name>Sebastian Holder</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>jahewson</id>
			<name>John Hewson</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>jeremias</id>
			<name>Jeremias Maerki</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>kjackson</id>
			<name>Kevin Jackson</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>koch</id>
			<name>Johannes Koch</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>koehlecn</id>
			<name>Carolin Köhler</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>mmayer</id>
			<name>Matthäus Mayer</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>msayhoun</id>
			<name>Maruan Sayhoun</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>pkoch</id>
			<name>Phillipp Koch</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>tallison</id>
			<name>Tim Allison</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>tchojecki</id>
			<name>Thomas Chojecki</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>tboehme</id>
			<name>Timo Boehme</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>tilman</id>
			<name>Tilman Hausherr</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>vfed</id>
			<name>Villu Ruusmann</name>
			<roles>
				<role>PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>leleueri</id>
			<name>Eric Leleu</name>
			<roles>
				<role>Emeritus PMC Member</role>
			</roles>
		</developer>
		<developer>
			<id>jukka</id>
			<name>Jukka Zitting</name>
			<roles>
				<role>Emeritus PMC Member</role>
			</roles>
		</developer>
	</developers>
</project>
