<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>DocumentArchiver</artifactId>
	<packaging>jar</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>Ten Brinke Document Archiver</name>

	<!-- configure dependencies -->
	<dependencies>
		<dependency>	<groupId>nl.knowledgeplaza</groupId> 			<artifactId>KpUtil</artifactId>					<version>[1.7-SNAPSHOT,)</version>	</dependency>
		<dependency>	<groupId>nl.knowledgeplaza</groupId> 			<artifactId>TbeeSwing</artifactId>				<version>[1.26-SNAPSHOT,)</version>	</dependency>
		<dependency>	<groupId>org.swinglabs</groupId> 				<artifactId>swingx</artifactId>					<version>1.6</version>				</dependency> 
		<dependency>	<groupId>com.miglayout</groupId> 				<artifactId>miglayout</artifactId>				<version>3.7.1</version>			</dependency> 
		<dependency>	<groupId>org.swinglabs</groupId> 				<artifactId>jxlayer</artifactId>				<version>3.0.3</version>			</dependency> 
		<dependency>	<groupId>com.kitfox.svg</groupId> 				<artifactId>svg-salamander</artifactId>			<version>1.0</version>				</dependency> 
		<dependency>	<groupId>de.javasoft</groupId> 					<artifactId>Synthetica-BlackStar</artifactId>	<version>2.9.1</version>			</dependency>
		<dependency>	<groupId>org.jpedal</groupId> 					<artifactId>jpedal-lgpl</artifactId>			<version>3.92.40</version>			</dependency>
		<dependency>	<groupId>org.apache.pdfbox</groupId> 			<artifactId>pdfbox</artifactId>					<version>0.8.0-incubating</version>	</dependency>
		<dependency>	<groupId>log4j</groupId> 						<artifactId>log4j</artifactId>					<version>1.2.15</version>			</dependency>
		<dependency>	<groupId>dom4j</groupId> 						<artifactId>dom4j</artifactId>					<version>1.6.1</version>			</dependency>
		<dependency>	<groupId>jaxen</groupId>						<artifactId>jaxen</artifactId>					<version>1.1-beta-8</version>		</dependency>
		<dependency>	<groupId>org.apache.commons</groupId>			<artifactId>kp-commons-vfs</artifactId>			<version>2.0-SNAPSHOT</version>		</dependency>
		<dependency>	<groupId>commons-net</groupId>					<artifactId>commons-net</artifactId>			<version>2.0</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>			<scope>test</scope></dependency>
		<dependency>	<groupId>junit</groupId> 						<artifactId>junit</artifactId>					<version>4.5</version>				<scope>test</scope>	</dependency>
		<dependency>	<groupId>org.easytesting</groupId> 				<artifactId>fest-swing-junit</artifactId>		<version>1.2a4</version>			<scope>test</scope>	</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>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<showDeprecation>false</showDeprecation>
					<fork>false</fork>
					 <compilerArgument></compilerArgument>
				</configuration>
			</plugin>
			<!-- copy all dependency jars to a directory (for eclipse without m2eclipse)  -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<!-- run the copy-dependencies goal of the plugin as part of the initialize phase of the build using the specified configuration-->
					<execution>
						<id>collect libs for EDI</id>
						<goals>
							<goal>copy-dependencies</goal>
						</goals>
						<phase>initialize</phase>
						<configuration>
								<outputDirectory>
										${project.build.directory}/lib
								</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</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>
				<configuration>
					<startup>nl.knowledgeplaza.docarch.DocArch</startup>
					<args>-Xms256m -Xmx1024m</args>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
