<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.2-SNAPSHOT</version>
		<relativePath>../pom.xml</relativePath> 
	</parent>
	<artifactId>CheyenneCompiler</artifactId>
	<packaging>jar</packaging>
	<name>InnovationInvestments Cheyenne Compiler</name>

	<!-- configure dependencies -->
	<dependencies>
		<dependency>	<groupId>${project.groupId}</groupId> 			<artifactId>CheyenneEngine</artifactId>			<version>${project.version}</version>	</dependency> <!-- same version as pom -->
		<dependency>	<groupId>wsdl4j</groupId>						<artifactId>wsdl4j</artifactId>					<version>1.6.2</version>				</dependency>
		<dependency>	<groupId>dom4j</groupId> 						<artifactId>dom4j</artifactId>					<version>1.6.1</version>				</dependency>
		<dependency>	<groupId>commons-cli</groupId>					<artifactId>commons-cli</artifactId>			<version>1.0</version>					</dependency>
		<dependency>	<groupId>org.antlr</groupId> 					<artifactId>antlr</artifactId>					<version>3.3</version>				</dependency>
		<dependency>	<groupId>ant</groupId> 							<artifactId>ant</artifactId>					<version>1.6.5</version>				</dependency>
		<dependency>	<groupId>jaxen</groupId>						<artifactId>jaxen</artifactId>					<version>1.1.6</version>	<scope>compile</scope>	</dependency>
		<dependency>
		  <groupId>xerces</groupId>
		  <artifactId>xercesImpl</artifactId>
		  <version>2.10.0</version>
		  <scope>compile</scope>
		</dependency>	
		<dependency>
		  <groupId>xml-apis</groupId>
		  <artifactId>xml-apis</artifactId>
		  <version>1.4.01</version>
		  <scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>jdk.tools</groupId>
			<artifactId>jdk.tools</artifactId>
			<scope>system</scope>
			<version>1.6</version>
			<systemPath>${JAVA_HOME}/lib/tools.jar</systemPath>
		</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 additional plugins -->
		<plugins>	
			<!-- ANTLR plugin http://antlr.org/antlr3-maven-plugin/usage.html -->
			<plugin>
				<groupId>org.antlr</groupId>
				<artifactId>antlr3-maven-plugin</artifactId>
				<version>3.3</version>
				<executions>
					<execution>
						<goals>
							<goal>antlr</goal>
						</goals>
						<configuration>
							<outputDirectory>java</outputDirectory>
							<sourceDirectory>antlr3</sourceDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>
