<?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
	<inceptionYear>2010</inceptionYear>
	<parent>
		<artifactId>chex4j</artifactId>
		<groupId>net.sf.chex4j</groupId>
		<version>1.0.2</version>
		<relativePath>../chex4j</relativePath>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>net.sf.chex4j</groupId>
	<artifactId>chex4j-test</artifactId>
	<name>Chex4j Javaagent Tests</name>
	<version>1.0.2</version>
	<description>
		chex4j-core is a javaagent so testing it requires the
		built jar to be added to the jvm start options. Putting the tests in a
		separate module ensures that the core jar is available during the
		build time of the test module. 
		</description>
	<url>http://maven.apache.org</url>
	<dependencies>
		<dependency>
			<groupId>net.sf.chex4j</groupId>
			<artifactId>chex4j-core</artifactId>
			<version>${version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
			<version>${hamcrest.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.ant</groupId>
			<artifactId>ant</artifactId>
			<version>${ant.version}</version>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>emma</groupId>
			<artifactId>emma_ant</artifactId>
			<version>${emma.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>emma</groupId>
			<artifactId>emma</artifactId>
			<version>${emma.version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<issueManagement>
	</issueManagement>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<executions>
					<execution>
						<phase>package</phase>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.3</version>
				<executions>
					<execution>
						<id>ant-properties</id>
						<phase>compile</phase>
						<configuration>
							<tasks>
								<property name="maven.build.dir" value="target" />
								<property name="project.build.outputDirectory" value="${maven.build.outputDir}" />
								<property name="project.build.directory" value="${maven.build.dir}" />
								<property name="maven.build.outputDir" value="${maven.build.dir}/classes" />
								<property name="maven.repo.local" value="${settings.localRepository}" />
								<property name="core.build.finalName" value="chex4j-core-${project.version}.jar" />
								<propertyfile file="target/ant.properties" comment="Generated by maven antrun plugin : see the pom.xml">
									<entry key="maven.build.dir" value="target" />
									<entry key="project.build.outputDirectory" value="${maven.build.outputDir}" />
									<entry key="project.build.directory" value="${maven.build.dir}" />
									<entry key="maven.build.outputDir" value="${maven.build.dir}/classes" />
									<entry key="maven.repo.local" value="${settings.localRepository}" />
									<entry key="core.build.finalName" value="chex4j-core-${project.version}.jar" />
									<entry key="junit.version" value="${junit.version}" />
									<entry key="hamcrest.version" value="${hamcrest.version}" />
									<entry key="javassist.version" value="${javassist.version}" />
									<entry key="emma.version" value="${emma.version}" />
								</propertyfile>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
					<execution>
						<id>emma-site</id>
						<phase>site</phase>
						<goals>
							<goal>run</goal>
						</goals>
						<configuration>
							<tasks>
								<ant antfile="ant-emma-chex4j.xml" target="emma" />
							</tasks>
						</configuration>
					</execution>
				</executions>
				<dependencies>
					<dependency>
						<groupId>ant</groupId>
						<artifactId>ant-optional</artifactId>
						<version>${ant-optional.version}</version>
					</dependency>
					<dependency>
						<groupId>emma</groupId>
						<artifactId>emma_ant</artifactId>
						<version>${emma.version}</version>
					</dependency>
					<dependency>
						<groupId>emma</groupId>
						<artifactId>emma</artifactId>
						<version>${emma.version}</version>
					</dependency>
				</dependencies>
			</plugin>
		</plugins>
	</build>
	<distributionManagement>
		<!-- 
		<site>
			<id>chex4j.sf.net</id>
			<url>scp://shell.sourceforge.net/home/groups/c/ch/chex4j/htdocs/chex4j-test
			</url>
		</site>
		 -->
	</distributionManagement>
</project>
