<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">
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.jayway.awaitility</groupId>
	<artifactId>awaitility-parent</artifactId>
	<packaging>pom</packaging>
	<version>1.3.1</version>
	<url>http://github.com/jayway/awaitility</url>
	<name>Awaitility Parent POM</name>
	<description>A Java DSL for synchronizing asynchronous operations</description>
	<inceptionYear>2010</inceptionYear>
	<issueManagement>
		<system>GitHub Issue Tracking</system>
		<url />
	</issueManagement>
	<licenses>
		<license>
			<name>Apache 2.0</name>
			<url>LICENSE.txt</url>
		</license>
	</licenses>
	<developers>
		<developer>
			<name>Johan Haleby</name>
			<id>johan.haleby</id>
			<organization>Jayway</organization>
			<organizationUrl>http://www.jayway.com</organizationUrl>
			<roles>
				<role>Developer</role>
			</roles>
		</developer>
		<developer>
			<id>jakr</id>
			<name>Jan Kronquist</name>
			<organization>Jayway</organization>
			<organizationUrl>http://www.jayway.com</organizationUrl>
			<email>jan.kronquist at jayway.com</email>
			<timezone>+1</timezone>
			<roles>
				<role>Developer</role>
			</roles>
		</developer>
	</developers>
	<properties>
		<scm.branch>master</scm.branch>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>
	<scm>
		<url>http://github.com/jayway/awaitility/tree/${scm.branch}</url>
		<connection>scm:git:git://github.com/jayway/awaitility.git</connection>
		<developerConnection>scm:git:ssh://git@github.com/jayway/awaitility.git</developerConnection>
	</scm>
	<mailingLists>
		<mailingList>
			<name>Awaitility mailing-list</name>
			<archive>http://groups.google.com/group/awaitility/topics</archive>
		</mailingList>
	</mailingLists>
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<autoVersionSubmodules>true</autoVersionSubmodules>
					<useReleaseProfile>false</useReleaseProfile>
					<arguments>-Prelease</arguments>
					<goals>deploy</goals>
					<!-- This accounts for the fact, that the Release Plugin forks Maven 
						and system properties of the current Maven session are unfortunately not 
						automatically propagated to the forked Maven session -->
					<mavenExecutorId>forked-path</mavenExecutorId>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<profiles>
		<profile>
			<id>release</id>
			<build>
				<plugins>
					<!-- We want to sign the artifact, the POM, and all attached artifacts -->
					<plugin>
						<artifactId>maven-gpg-plugin</artifactId>
						<configuration>
							<useAgent>false</useAgent>
						</configuration>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<!-- We want to deploy the artifact to a staging location for perusal -->
					<plugin>
						<inherited>true</inherited>
						<artifactId>maven-deploy-plugin</artifactId>
						<configuration>
							<updateReleaseInfo>true</updateReleaseInfo>
						</configuration>
					</plugin>
					<plugin>
						<artifactId>maven-source-plugin</artifactId>
						<executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.7</version>
						<configuration>
							<encoding>${project.build.sourceEncoding}</encoding>
						</configuration>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>

	<distributionManagement>
		<repository>
			<id>oss.sonatype.org-jayway-staging</id>
			<name>OpenSource Release Staging on Sonatype.org</name>
			<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
		<snapshotRepository>
			<id>oss.sonatype.org-jayway-snapshots</id>
			<name>Jayway OpenSource SNAPSHOTs on Sonatype.org</name>
			<url>http://oss.sonatype.org/content/repositories/jayway-snapshots/</url>
		</snapshotRepository>
	</distributionManagement>
	<modules>
		<module>awaitility</module>
		<module>awaitility-scala</module>
		<module>awaitility-groovy</module>
	</modules>
</project>
