<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>DH2RIA</artifactId>
	<version>1.51-SNAPSHOT</version>
	<name>DH2RIA</name>
	<packaging>pom</packaging>

	<modules>
		<module>dhShared</module>
		<module>dhClientside</module>
		<module>dh</module>
	</modules>
	
	<!-- configure global dependencies -->
	<dependencies>
		<dependency>	<groupId>com.caucho</groupId>					<artifactId>hessian</artifactId>					<version>3.1.5</version>			</dependency>
	</dependencies>
	
	<build>
		<plugins>
			<!-- prevent snapshots being used in a release -->
			<plugin>
				<groupId>nl.knowledgeplaza</groupId>
				<artifactId>ReleaseArtifactPlugin</artifactId>
				<version>1.0</version>
				<executions>
					<!-- run the copy-dependencies goal of the plugin as part of the initialize phase of the build using the specified configuration-->
					<execution>
						<id>prevent snapshots being used in a release</id>
						<goals>
							<goal>failOnSnapshot</goal>
						</goals>
						<phase>validate</phase>
					</execution>
				</executions>
			</plugin>	
		</plugins>
	</build>
</project>
