<?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">
	<modelVersion>4.0.0</modelVersion>
	<groupId>no.ks</groupId>
	<artifactId>eventstore2-parent</artifactId>
	<packaging>pom</packaging>
	<version>2.3.0</version>
	<name>Eventstore2 Parent</name>
	<description>A framework for building event sourced Java applications</description>
	<url>https://github.com/jansoren/eventstore2</url>
	<modules>
		<module>eventstore</module>
  	</modules>
  	<licenses>
		<license>
			<name>MIT License</name>
			<url>http://www.opensource.org/licenses/mit-license.php</url>
		</license>
	</licenses>
	<scm>
		<url>http://github.com/jansoren/eventstore2</url>
		<connection>scm:git:https://github.com/jansoren/eventstore2.git</connection>
		<developerConnection>scm:git:https://github.com/jansoren/eventstore2.git</developerConnection>
		<tag>v2.3.0</tag>
	</scm>
	<issueManagement>
		<system>github</system>
		<url>https://github.com/jansoren/eventstore2/issues</url>
	</issueManagement>
	<developers>
		<developer>
			<id>idar</id>
			<name>Idar Borlaug</name>
			<email>idar.borlaug@gmail.com</email>
		</developer>
		<developer>
			<id>andreasBerre</id>
			<name>Andreas Berre</name>
			<email>andreas.berre@gmail.com</email>
		</developer>
		<developer>
			<id>jansoren</id>
			<name>Jan-Terje Sørensen</name>
			<email>jtbsorensen@gmail.com</email>
		</developer>
	</developers>
	<profiles>
		<profile>
			<id>sonatype-oss-release</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>2.2.1</version>
						<executions>
							<execution>
								<id>attach-sources</id>
								<goals>
									<goal>jar-no-fork</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-javadoc-plugin</artifactId>
						<version>2.9.1</version>
						<executions>
							<execution>
								<id>attach-javadocs</id>
								<goals>
									<goal>jar</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.5</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
		        </plugins>
			</build>
		</profile>
	</profiles>
	<build>
		<pluginManagement>
			<plugins>
				<plugin>
					<groupId>org.apache.maven.plugins</groupId>
					<artifactId>maven-release-plugin</artifactId>
					<version>2.5</version>
					<configuration>
						<mavenExecutorId>forked-path</mavenExecutorId>
						<useReleaseProfile>false</useReleaseProfile>
						<arguments>-Psonatype-oss-release</arguments>
						<tagNameFormat>v@{project.version}</tagNameFormat>
						<pushChanges>false</pushChanges>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
	<distributionManagement>
        <snapshotRepository>
            <id>sonatype-nexus-snapshots</id>
            <name>Sonatype Nexus Snapshots</name>
            <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        </snapshotRepository>
        <repository>
            <id>sonatype-nexus-staging</id>
            <name>Sonatype Nexus Release</name>
            <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        </repository>
    </distributionManagement>
</project>
