<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>nl.knowledgeplaza</groupId>
	<artifactId>TbeeSwing</artifactId>
	<packaging>jar</packaging>
	<version>1.27</version>
	<name>TBEE Swing Utilities</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>
		<repository>
			<id>kp-snapshots</id>
			<url>http://www.softworks.nl:8081/nexus/content/groups/public-snapshots</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.8</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>			<scope>test</scope></dependency>
		<dependency>	<groupId>foxtrot</groupId> 						<artifactId>foxtrot-core</artifactId>			<version>3.0</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.jhlabs</groupId> 					<artifactId>filters</artifactId>				<version>2.0.235</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.ctreber</groupId> 					<artifactId>aclib</artifactId>					<version>2.1</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>javax.persistence</groupId> 			<artifactId>persistence-api</artifactId>		<version>1.0</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>org.eclipse.persistence</groupId> 		<artifactId>javax.persistence</artifactId>		<version>2.0.0</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>org.swinglabs</groupId> 				<artifactId>swingx</artifactId>					<version>1.6</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>org.swinglabs</groupId> 				<artifactId>jxlayer</artifactId>				<version>3.0.3</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.jidesoft</groupId> 				<artifactId>jide-oss</artifactId>				<version>2.5.3</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.miglayout</groupId> 				<artifactId>miglayout</artifactId>				<version>3.7.1</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.jgoodies</groupId> 				<artifactId>binding</artifactId>				<version>2.0.6</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.bric</groupId> 					<artifactId>transition2d</artifactId>			<version>1.2</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>net.java.dev.glazedlists</groupId> 	<artifactId>glazedlists_java15</artifactId>		<version>1.8.0</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>org.metawidget</groupId> 				<artifactId>metawidget</artifactId>				<version>0.5</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.kitfox.svg</groupId> 				<artifactId>svg-salamander</artifactId>			<version>1.0</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>org.comedia</groupId> 					<artifactId>cbeans</artifactId>					<version>1.0</version>				<scope>provided</scope></dependency> 
		<dependency>	<groupId>tablelayout</groupId> 					<artifactId>TableLayout</artifactId>			<version>20050920</version>			<scope>provided</scope></dependency> 
		<dependency>	<groupId>com.l2fprod</groupId> 					<artifactId>l2fprod-common-all</artifactId>		<version>7.3</version>				<scope>test</scope>	</dependency>
		<dependency>	<groupId>commons-vfs</groupId>					<artifactId>commons-vfs</artifactId>			<version>1.0</version>				<scope>provided</scope></dependency>
	</dependencies>
	<profiles>
		<!-- JOGL has os  specific DLL's, so we need to bind this to the OS being compiled upon -->
		<!-- http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireOS.html -->
		<profile>
			<activation>
				<os>
					<family>windows</family>
				</os>
			</activation>
			<dependencies>
				<dependency>	<groupId>net.java.dev.jogl</groupId> 			<artifactId>jogl-windows-i586</artifactId>		<version>1.1.1-rc6</version>	</dependency>
			</dependencies>
		</profile>
	</profiles>	
	
	<!-- configure how the project is build -->
	<build>
		<!-- setup the source directories -->
		<sourceDirectory>src</sourceDirectory>
		<testSourceDirectory>srcTest</testSourceDirectory>
		<resources>
			<resource>
				<directory>src</directory>
				<excludes>
				  <exclude> **/*.java </exclude>
				  <exclude> **/CVS </exclude>
				</excludes>
			</resource>
		</resources>
		<testResources>
			<testResource>
				<directory>srcTest</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>
		</plugins>
	</build>

	<!-- configure how the artifacts are released -->
	<distributionManagement>
		<repository>
			<id>kp</id>
			<url>http://www.softworks.nl:8081/nexus/content/repositories/releases/</url>
			<uniqueVersion>false</uniqueVersion>
		</repository>
		<snapshotRepository>
			<id>kp-snapshots</id>
			<url>http://www.softworks.nl:8081/nexus/content/repositories/snapshots/</url>
			<uniqueVersion>false</uniqueVersion>
		</snapshotRepository>
	</distributionManagement>	
	
</project>
