<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>se.emirbuc.randomsentence</groupId>
	<artifactId>random-sentence-generator</artifactId>
	<version>0.0.13</version>
	<packaging>jar</packaging>
	<name>Simple Random sentence generator</name>
	<description>Simple Random sentence generator for English language.</description>
	<url>https://github.com/embuc/random-sentence-generator</url>

	<licenses>
		<license>
			<name>MIT License</name>
			<url>http://www.opensource.org/licenses/mit-license.php</url>
		</license>
	</licenses>

	<developers>
		<developer>
			<name>Emir Bucalovic</name>
			<email>emir.bucalovic{at}gmail.com</email>
			<organizationUrl>https://github.com/embuc/random-sentence-generator</organizationUrl>
		</developer>
	</developers>

	<properties>
		<java.version>1.8</java.version>
		<java.version.range>[1.7.0, 1.8.1)</java.version.range>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

		<common.collections.version>4.0</common.collections.version>
		<apache.commons.version>3.4</apache.commons.version>

		<junit.version>4.12</junit.version>
	</properties>

	<scm>
		<connection>scm:git:ssh://git@github.com/embuc/random-sentence-generator.git</connection>
		<developerConnection>scm:git:ssh://git@github.com/embuc/random-sentence-generator.git</developerConnection>
		<url>https://github.com/embuc/random-sentence-generator</url>
		<tag>random-sentence-generator-0.0.13</tag>
	</scm>

	<distributionManagement>
		<snapshotRepository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots</url>
		</snapshotRepository>
		<repository>
			<id>ossrh</id>
			<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
		</repository>
	</distributionManagement>

	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-collections4</artifactId>
			<version>${common.collections.version}</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
			<version>${apache.commons.version}</version>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.1</version>
				<configuration>
					<target>${java.version}</target>
					<source>${java.version}</source>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<version>2.5.2</version>
				<dependencies>
					<dependency>
						<groupId>org.apache.maven.scm</groupId>
						<artifactId>maven-scm-provider-gitexe</artifactId>
						<version>1.9.4</version>
					</dependency>
				</dependencies>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-source-plugin</artifactId>
				<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>
				<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.6</version>
				<executions>
					<execution>
						<id>sign-artifacts</id>
						<phase>verify</phase>
						<goals>
							<goal>sign</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.sonatype.plugins</groupId>
				<artifactId>nexus-staging-maven-plugin</artifactId>
				<version>1.6.6</version>
				<configuration>
					<nexusUrl>https://oss.sonatype.org</nexusUrl>
					<serverId>sonatype-nexus-staging</serverId>
					<buildPromotionProfileId>seemirbuc</buildPromotionProfileId>
				</configuration>
				<executions>
					<execution>
						<goals>
							<goal>close</goal>
							<goal>release</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
</project>