<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.innovationinvestments</groupId>
		<artifactId>Cheyenne</artifactId>
		<version>1.12.1-SNAPSHOT</version>
		<relativePath>../pom.xml</relativePath> 
	</parent>
	<artifactId>CheyenneEngine</artifactId>
	<packaging>jar</packaging>
	<name>InnovationInvestments Cheyenne Engine</name>
<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  </properties>
	<!-- configure dependencies -->
	<dependencies>
		<dependency>	<groupId>nl.knowledgeplaza</groupId> 			<artifactId>KpUtil</artifactId>					<version>1.19-SNAPSHOT</version>		</dependency>
        <dependency>	<groupId>nl.knowledgeplaza</groupId>			<artifactId>KPSoapClient</artifactId>			<version>1.1-SNAPSHOT</version>	</dependency>
		<!-- for the workflow, since it is not used we make the scope provided so the jars are not included in the distribution -->
		<dependency>	<groupId>org.jbpm.jbpm3</groupId>				<artifactId>jbpm-identity</artifactId>			<version>3.3.1.GA</version>	<scope>provided</scope>	</dependency>
		<dependency>	<groupId>org.hibernate</groupId>				<artifactId>hibernate</artifactId>				<version>3.2.6.ga</version>	<scope>provided</scope>	</dependency>
		<!-- test -->
		<dependency>	<groupId>org.apache.axis2</groupId>				<artifactId>axis2</artifactId>					<version>1.5.4</version>	<scope>test</scope>	</dependency>
		<dependency>	<groupId>org.apache.axis2</groupId>				<artifactId>axis2-transport-http</artifactId>	<version>1.5.4</version>	<scope>test</scope>	</dependency>
		<dependency>	<groupId>org.apache.axis2</groupId>				<artifactId>axis2-transport-local</artifactId>	<version>1.5.4</version>	<scope>test</scope>	</dependency>		 		 		
		<dependency>	<groupId>org.hsqldb</groupId>					<artifactId>hsqldb</artifactId>					<version>1.8.0.10</version>	<scope>test</scope>	</dependency>
		<dependency>	<groupId>jaxen</groupId>						<artifactId>jaxen</artifactId>					<version>1.1.1</version>	<scope>test</scope>	</dependency>
        <dependency>	<groupId>net.sourceforge.saxon</groupId>		<artifactId>saxon</artifactId>					<version>9.1.0.8</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>
	
		<!-- configure plugins -->
		<plugins>	
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.7.2</version>
				<configuration>
					<excludes>
						<!-- skip the workflow tests because they throw a org.hibernate.MappingNotFoundException: resource: org/jbpm/identity/User.hbm.xml not found -->
						<!-- in the original pre-maven jars jbpm-identity-3.2.3.jar contained hbm.xml files for these definitions, apparently these 3.2.4+ don't anymore -->
						<exclude>**/TestEngineWorkflow.java</exclude>
					</excludes>
				</configuration>
			</plugin>
		</plugins>
	</build>
	
</project>
