<?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/xsd/maven-4.0.0.xsd">

	<modelVersion>4.0.0</modelVersion>
	<groupId>uk.co.javahelp.fitnesse</groupId>
	<artifactId>fitnesse-launcher-parent</artifactId>
	<version>1.4.2</version>
	<packaging>pom</packaging>

	<name>FitNesse Launcher Parent</name>
	<description>
	    Provides ability to launch FitNesse as a wiki server,
	    or automatically run FitNesse tests as part of a
	    standard integration-test / verify build.
	    Allows configuration of FitNesse's classpath through plugin dependencies,
	    and injects all Maven project properties as FitNesse variables,
	    ( which can be overridden from the command line using '-D' ).
	</description>
	<url>http://code.google.com/p/fitnesse-launcher-maven-plugin</url>
	<inceptionYear>2012</inceptionYear>

	<scm>
		<url>http://fitnesse-launcher-maven-plugin.googlecode.com/svn/tags/fitnesse-launcher-1.4.2</url>
		<connection>scm:svn:http://fitnesse-launcher-maven-plugin.googlecode.com/svn/tags/fitnesse-launcher-1.4.2</connection>
		<developerConnection>scm:svn:https://fitnesse-launcher-maven-plugin.googlecode.com/svn/tags/fitnesse-launcher-1.4.2</developerConnection>
	</scm>

	<licenses>
		<license>
			<name>Apache License version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

	<developers>
		<developer>
			<id>stewart</id>
			<name>Stewart Cambridge</name>
			<email>stewart @ javahelp.co.uk</email>
			<url>http://www.linkedin.com/in/stewartcambridge</url>
			<timezone>0</timezone>
		</developer>
	</developers>

	<contributors>
	</contributors>

	<issueManagement>
		<system>Google Code</system>
		<url>http://code.google.com/p/fitnesse-launcher-maven-plugin/issues/list</url>
	</issueManagement>

	<mailingLists>
		<mailingList>
			<name>FitNesse Launcher on Google Groups</name>
			<subscribe>fitnesse-launcher-maven-plugin+subscribe@googlegroups.com</subscribe>
			<unsubscribe>fitnesse-launcher-maven-plugin+unsubscribe@googlegroups.com</unsubscribe>
			<post>fitnesse-launcher-maven-plugin@googlegroups.com</post>
			<archive>http://groups.google.com/group/fitnesse-launcher-maven-plugin</archive>
		</mailingList>
	</mailingLists>

	<prerequisites>
		<maven>3.0.5</maven>
	</prerequisites>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
		<maven.version>3.1.1</maven.version>
		<failsafe.version>2.12.4</failsafe.version>
		<jacoco.version>0.6.0.201210061924</jacoco.version>
		<!-- For use by Site filtering (can't handle 'dot' notation) -->
		<projectVersion>${project.version}</projectVersion>
	</properties>

	<modules>
		<module>fitnesse-launcher-maven-plugin</module>
		<module>fitnesse-launcher-java-example</module>
		<module>fitnesse-launcher-spring-example</module>
		<module>fitnesse-launcher-sql-example</module>
		<module>fitnesse-launcher-webapp-example</module>
	</modules>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.0</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<!--
				    This version needs to match that of
				    dependency for maven-failsafe-plugin
				    otherwise the unit-tests of the RunTestsMojo
				    will have incompatible versions of classes loaded.
				 -->
				<version>${failsafe.version}</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<version>2.2.1</version>
				<executions>
					<execution>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<quiet>true</quiet>
					<use>false</use>
					<show>private</show>
					<stylesheetfile>${project.parent.basedir}/src/site/javadoc/stylesheet.css</stylesheetfile>
					<includeDependencySources>false</includeDependencySources>
					<links>
						<link>http://java.sun.com/javase/6/docs/api/</link>
						<link>http://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site/fitnesse-apidocs/</link>
						<link>http://maven.apache.org/ref/${maven.version}/maven-plugin-api/apidocs/</link>
						<link>http://maven.apache.org/ref/${maven.version}/maven-artifact/apidocs/</link>
						<link>http://maven.apache.org/surefire/maven-surefire-common/apidocs/</link>
						<link>http://plexus.codehaus.org/plexus-containers/plexus-container-default-1.0-alpha-9-stable/apidocs/</link>
					</links>
					<tagletArtifacts>
						<tagletArtifact>
							<groupId>org.apache.maven.plugin-tools</groupId>
							<artifactId>maven-plugin-tools-javadoc</artifactId>
							<version>3.2</version>
						</tagletArtifact>
					</tagletArtifacts>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>com.googlecode</groupId>
				<artifactId>maven-googlecode-changes-plugin</artifactId>
				<version>1.0</version>
				<configuration>
					<issueTypes>
						<Defect>fix</Defect>
						<Enhancement>update</Enhancement>
					</issueTypes>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.2</version>
				<configuration>
   					<relativizeDecorationLinks>false</relativizeDecorationLinks>
				</configuration>
			</plugin>
			<plugin> 
				<groupId>org.tinyjee.dim</groupId> 
				<artifactId>doxia-include-macro</artifactId> 
				<version>1.1</version> 
				<executions> 
					<execution> 
						<id>initialize-doxia-include-macro</id> 
						<phase>pre-site</phase> 
						<goals> 
							<goal>initialize</goal> 
						</goals> 
					</execution> 
				</executions> 
			</plugin> 
			<plugin>
				<artifactId>maven-assembly-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<descriptorRefs>
						<descriptorRef>src</descriptorRef>
					</descriptorRefs>
					<tarLongFileMode>gnu</tarLongFileMode>
				</configuration>
				<executions>
					<execution>
						<id>make-assembly</id>
						<phase>package</phase>
						<goals>
							<goal>single</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.4</version>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>uk.co.javahelp.fitnesse</groupId>
					<artifactId>fitnesse-launcher-maven-plugin</artifactId>
					<version>${project.version}</version>
				</plugin>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-failsafe-plugin</artifactId>
					<version>${failsafe.version}</version>
				</plugin>
				<plugin>
					<groupId>org.jacoco</groupId>
					<artifactId>jacoco-maven-plugin</artifactId>
					<version>${jacoco.version}</version>
					<configuration>
						<destfile>${project.build.directory}/coverage-reports/jacoco-unit.exec</destfile>
						<datafile>${project.build.directory}/coverage-reports/jacoco-unit.exec</datafile>
					</configuration>
					<executions>
						<execution>
							<id>jacoco-initialize</id>
							<goals>
								<goal>prepare-agent</goal>
							</goals>
						</execution>
						<execution>
							<id>jacoco-site</id>
							<phase>package</phase>
							<goals>
								<goal>report</goal>
							</goals>
						</execution>
					</executions>
				</plugin>
			</plugins>
		</pluginManagement>
		<extensions>
			<extension>
				<groupId>com.google.code.maven-svn-wagon</groupId>
				<artifactId>maven-svn-wagon</artifactId>
				<version>1.4</version>
			</extension>
		</extensions>
	</build>

	<profiles>
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.4</version>
						<configuration>
							<mavenExecutorId>forked-path</mavenExecutorId>
						</configuration>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<distributionManagement>
		<!-- See http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom -->
		<snapshotRepository>
			<id>sonatype-nexus-snapshots</id>
			<name>Sonatype Nexus Snapshots</name>
			<url>http://oss.sonatype.org/content/repositories/snapshots/</url>
		</snapshotRepository>
		<repository>
			<id>sonatype-nexus-staging</id>
			<name>Nexus Release Repository</name>
			<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
		<site>
			<id>google-code</id>
			<name>Google Code Reports</name>
			<url>svn:https://fitnesse-launcher-maven-plugin.googlecode.com/svn/maven/site</url>
		</site>
	</distributionManagement>

</project>
