<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>
	<parent>
		<groupId>nl.knowledgeplaza</groupId>
		<artifactId>KPCompanyPom</artifactId>
		<version>1-SNAPSHOT</version>
	</parent>
	<artifactId>SplitPdf</artifactId>
	<packaging>jar</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>KnowledgePlaza PDF splitter</name>

	<!-- where can maven find other artifacts -->
	<repositories>
		<repository>
			<id>kp</id>
			<url>http://www.softworks.nl:8081/nexus/content/groups/public</url>
			<!-- this server must be defined in ~/.m2/setting.xml with a username and password	 http://maven.apache.org/settings.html#Servers -->
		</repository>
	</repositories>
	
	<!-- where can maven find plugins -->
	<pluginRepositories>
		<pluginRepository>
			<id>kp</id>
			<url>http://www.softworks.nl:8081/nexus/content/groups/public</url>
			<!-- this server must be defined in ~/.m2/setting.xml with a username and password	 http://maven.apache.org/settings.html#Servers -->
		</pluginRepository>
	</pluginRepositories>
	
	<!-- configure dependencies -->
	<dependencies>
		<dependency>	<groupId>nl.knowledgeplaza</groupId> 			<artifactId>KpUtil</artifactId>					<version>1.17-SNAPSHOT</version>	</dependency>
		<dependency>	<groupId>javax.media</groupId> 					<artifactId>jai_codec</artifactId>				<version>1.1.3</version>	</dependency>
		<dependency>	<groupId>com.sun.media</groupId>				<artifactId>jai_imageio</artifactId>			<version>1.2</version>		</dependency>
		<dependency>	<groupId>com.lowagie</groupId> 					<artifactId>itext</artifactId>					<version>5.0.1</version>	</dependency>
		<dependency>	<groupId>org.apache.pdfbox</groupId>			<artifactId>pdfbox</artifactId>					<version>0.8.0-incubating</version>	</dependency>
		<dependency>	<groupId>com.aspose</groupId>					<artifactId>AsposeBarCode</artifactId>			<version>2.4.0-trial</version>			</dependency>
		<dependency>	<groupId>log4j</groupId> 						<artifactId>log4j</artifactId>					<version>1.2.15</version>			</dependency>
		<dependency>	<groupId>org.slf4j</groupId> 					<artifactId>slf4j-api</artifactId>				<version>1.5.8</version>			</dependency>
		<dependency>	<groupId>org.slf4j</groupId> 					<artifactId>slf4j-log4j12</artifactId>			<version>1.5.8</version>			</dependency>
	</dependencies>
	
	<!-- configure how the project is build -->
	<build>

		<!-- setup the source directories -->
		<sourceDirectory>java</sourceDirectory>
		<testSourceDirectory>java-test</testSourceDirectory>
		<resources>
			<resource>
				<directory>java</directory>
				<excludes>
				  <exclude> **/*.java </exclude>
				  <exclude> **/CVS </exclude>
				</excludes>
			</resource>
		</resources>
		<testResources>
			<testResource>
				<directory>java-test</directory>
				<excludes>
				  <exclude> **/*.java </exclude>
				  <exclude> **/CVS </exclude>
				</excludes>
			</testResource>
		</testResources>

		<plugins>	
			<!-- setup the compiler -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.3.1</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<showDeprecation>false</showDeprecation>
					<fork>false</fork>
					 <compilerArgument></compilerArgument>
				</configuration>
			</plugin>
			<!-- create appjar -->
			<plugin>
				<groupId>nl.knowledgeplaza</groupId>
				<artifactId>knowledgeplaza-appjar-plugin</artifactId>
				<version>1.0-SNAPSHOT</version>
				<executions>
					<execution>
						<id>Create AppJar</id>
						<goals>
							<goal>package</goal> <!-- the goal has the phase configured -->
						</goals>
					</execution>
				</executions>
			</plugin>			
        </plugins>
	</build>
</project>
