<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>org.sonatype.oss</groupId>
		<artifactId>oss-parent</artifactId>
		<version>7</version>
	</parent>
	<groupId>se.softhouse</groupId>
	<artifactId>jargo-parent</artifactId>
	<description>Jargo maven parent</description>
	<version>0.1.1</version>
	<packaging>pom</packaging>
	<url>https://github.com/Softhouse/jargo</url>
	<scm>
		<url>https://github.com/Softhouse/jargo</url>
		<connection>scm:git:git://github.com/Softhouse/jargo.git</connection>
		<developerConnection>scm:git:git@github.com:Softhouse/jargo.git</developerConnection>
	</scm>
	<issueManagement>
		<system>GitHub Issues</system>
		<url>https://github.com/Softhouse/jargo/issues</url>
	</issueManagement>
	<ciManagement>
		<system>Jenkins</system>
		<url>https://jontejj.ci.cloudbees.com/job/jargo/</url>
	</ciManagement>
	<mailingLists>
		<mailingList>
			<name>Google group QA forum</name>
			<archive>https://groups.google.com/forum/?#!forum/jargo</archive>
		</mailingList>
	</mailingLists>
	<inceptionYear>2013</inceptionYear>
	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<developers>
		<developer>
			<id>joj</id>
			<name>Jonatan Jönsson</name>
			<email>jontejj@gmail.com</email>
			<organization>Softhouse</organization>
			<organizationUrl>http://www.softhouse.se/en/</organizationUrl>
			<roles>
				<role>owner</role>
				<role>developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>
	<prerequisites>
		<maven>3.0.3</maven>
	</prerequisites>
	<modules>
		<module>common-test</module>
		<module>jargo</module>
	</modules>
	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.8.1</version>
				<configuration>
					<!-- Avoid hefty javadoc differences -->
					<notimestamp>true</notimestamp>
					<encoding>UTF-8</encoding>
					<locale>en_US</locale>
					<failOnError>true</failOnError>
					<nodeprecated>true</nodeprecated>
					<linksource>true</linksource>
					<quiet>true</quiet>
					<links>
						<link>http://docs.guava-libraries.googlecode.com/git/javadoc/</link>
						<link>http://jsr-305.googlecode.com/svn/trunk/javadoc/</link>
						<link>http://easytesting.org/assert/apidocs/</link>
					</links>
					<tags>
						<!-- Exclude these tags as they are only used in editors not documentation -->
						<tag>
							<name>formatter.on</name>
							<placement>X</placement>
						</tag>
						<tag>
							<name>formatter.off</name>
							<placement>X</placement>
						</tag>
					</tags>
					<!-- Put prettify in the javadoc for nice code examples -->
					<javadocDirectory>${basedir}/src/main/javadoc/</javadocDirectory>
					<docfilessubdirs>true</docfilessubdirs>
					<header><![CDATA[
               <link rel="stylesheet" type="text/css" href="doc-files/prettify/prettify.css">
               <script src="doc-files/prettify/prettify.js" type="text/javascript"></script>
               <script language="JavaScript">window.onload=function(){prettyPrint();};</script>
               ]]></header>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-plugin</artifactId>
				<version>2.9</version>
				<configuration>
					<!-- The idea is to run all tests concurrently in the same JVM, reporting
						any errors to standard out as the tests aren't allowed to log anything else
						than errors -->
					<useFile>false</useFile>
					<!-- TODO(jontejj): enable when http://jira.codehaus.org/browse/SUREFIRE-797
						is solved <parallel>methods</parallel> -->
					<threadCount>1</threadCount>
					<!-- Fork one time to minimize memory usage while concurrently launching several child-processes -->
					<forkCount>1</forkCount>
					<reuseForks>true</reuseForks>
					<!-- Workaround for bug https://github.com/jacoco/jacoco/pull/40 -->
					<argLine>${coverageAgent}</argLine>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.jacoco</groupId>
				<artifactId>jacoco-maven-plugin</artifactId>
				<version>0.6.2.201302030002</version>
				<configuration>
					<!-- Workaround for bug https://github.com/jacoco/jacoco/pull/40 -->
					<propertyName>coverageAgent</propertyName>
				</configuration>
				<executions>
					<execution>
						<id>prepare-agent</id>
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
					<execution>
						<id>report</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>report</goal>
						</goals>
					</execution>
					<execution>
						<id>check</id>
						<goals>
							<goal>check</goal>
						</goals>
						<configuration>
							<!-- Fails the build if high standards are not met -->
							<check>
								<classRatio>100</classRatio>
								<methodRatio>100</methodRatio>
								<instructionRatio>99</instructionRatio>
								<branchRatio>99</branchRatio>
								<complexityRatio>99</complexityRatio>
								<lineRatio>99</lineRatio>
							</check>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<!-- If deploy is successful, then release the staging area directly -->
					<goals>deploy nexus-staging:release</goals>
					<!-- Automatically generate tag names -->
					<tagNameFormat>v@{project.version}</tagNameFormat>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.4.4</version>
				<extensions>true</extensions>
				<configuration>
					<serverId>sonatype-nexus-staging</serverId>
					<nexusUrl>https://oss.sonatype.org/</nexusUrl>
					<description>Release of ${project.version}</description>
				</configuration>
			</plugin>
		</plugins>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-site-plugin</artifactId>
					<version>3.2</version>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.6</version>
			</plugin>
		</plugins>
	</reporting>
	<dependencies>
		<dependency>
			<!-- The stuff that java should have had from the start -->
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
			<version>14.0.1</version>
		</dependency>
		<dependency>
			<!-- Annotations such as @Nonnull, @ThreadSafe etc -->
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<version>1.3.9</version>
			<scope>provided</scope>
		</dependency>
		<!-- Test libs -->
		<dependency>
			<!-- Micro benchmarking, See SimpleBenchmark -->
			<groupId>com.google.caliper</groupId>
			<artifactId>caliper</artifactId>
			<version>0.5-rc1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<!-- Includes NullPointerTester, MapTestSuiteBuilder and lots more -->
			<groupId>com.google.guava</groupId>
			<artifactId>guava-testlib</artifactId>
			<version>14.0.1</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<!-- Mostly included for SuppressFBWarnings, unfortunately it includes
				@NonNull annotations, don't use them, use the ones from jsr305 instead -->
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>annotations</artifactId>
			<version>2.0.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<!-- Fluent assertions like assertThat -->
			<groupId>org.easytesting</groupId>
			<artifactId>fest-assert</artifactId>
			<version>1.4</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<!-- Test runner -->
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<!-- Code coverage agent that adds instrumentation to compiled classes -->
			<groupId>org.jacoco</groupId>
			<artifactId>org.jacoco.agent</artifactId>
			<classifier>runtime</classifier>
			<version>0.6.2.201302030002</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<!-- Includes ConcurrentTestRunner -->
			<groupId>com.google.code.tempus-fugit</groupId>
			<artifactId>tempus-fugit</artifactId>
			<version>1.1</version>
			<scope>test</scope>
		</dependency>
		<!-- Makes mocking final classes possible (even java.* classes) -->
		<dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-module-junit4</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.powermock</groupId>
            <artifactId>powermock-api-mockito</artifactId>
            <version>1.5</version>
            <scope>test</scope>
        </dependency>
	</dependencies>
</project>