<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.nen</groupId>
	<artifactId>livelink-soap-interface</artifactId>
	<packaging>war</packaging>
	<version>1.0-SNAPSHOT</version>
	<name>NEN Livelink SOAP interface</name>

	<!-- where can maven find other artifacts -->
	<repositories>
		<repository>
			<id>kp</id>
			<url>http://alaya.applicationplaza.com: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://alaya.applicationplaza.com: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://alaya.applicationplaza.com: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.nen</groupId> 						<artifactId>livelink-api</artifactId>			<version>1.0-SNAPSHOT</version>	</dependency>
		<dependency>	<groupId>org.apache.cxf</groupId> 				<artifactId>apache-cxf</artifactId>				<version>2.2.6</version>		<type>pom</type> 	</dependency>
		<dependency>	<groupId>org.easytesting</groupId> 				<artifactId>fest-assert</artifactId>			<version>1.2</version>			<scope>test</scope>	</dependency>
		<dependency>	<groupId>junit</groupId> 						<artifactId>junit</artifactId>					<version>4.5</version>			<scope>test</scope>	</dependency>
		<dependency>	<groupId>org.mockito</groupId> 					<artifactId>mockito-core</artifactId>			<version>1.8.2</version>		<scope>test</scope>	</dependency>
	</dependencies>
	
	<!-- configure how the project is build -->
	<build>

		<plugins>	
			<!-- compiler settings -->
			<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-compiler-plugin</artifactId>
					<configuration>
							<source>1.6</source>
							<target>1.6</target>
					</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://alaya.applicationplaza.com:8081/nexus/content/repositories/releases/</url>
			<uniqueVersion>false</uniqueVersion>
		</repository>
		<snapshotRepository>
			<id>kp-snapshots</id>
			<url>http://alaya.applicationplaza.com:8081/nexus/content/repositories/snapshots/</url>
			<uniqueVersion>false</uniqueVersion>
		</snapshotRepository>
	</distributionManagement>	
	
</project>
