<?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>

	<!-- The Basics -->
	<groupId>org.entailment-dev</groupId>
	<artifactId>rollbar-handler</artifactId>
	<version>1.0.0</version>
	<packaging>jar</packaging>
	<dependencies>
		<dependency>
			<groupId>com.rollbar</groupId>
			<artifactId>rollbar</artifactId>
			<version>0.5.3</version>
		</dependency>
	</dependencies>

	<!-- Build Settings -->
	<build>
		<sourceDirectory>src</sourceDirectory>
	</build>

	<!-- More Project Information -->
	<name>RollbarHandler</name>
	<description>Provides a Helper implementation for a Logger for easier logging.</description>
	<url>https://entailment-dev.org</url>
	<inceptionYear>2016</inceptionYear>
	<licenses>
		<license>
			<name>Apache License 2.0</name>
			<url>https://www.apache.org/licenses/LICENSE-2.0.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>
	<organization>
		<name>Entailment</name>
		<url>https://entailment-dev.org</url>
	</organization>
	<developers>
		<developer>
			<id>solidinexistence</id>
			<name>SiNEXiST</name>
			<email>sinexist@entailment-dev.org</email>
			<organization>Entailment</organization>
			<organizationUrl>https://entailment-dev.org</organizationUrl>
			<roles>
				<role>developer</role>
				<role>documenter</role>
			</roles>
			<timezone>Europe/Vienna</timezone>
		</developer>
	</developers>

	<!-- Environment Settings -->
	<ciManagement>
		<system>Travis CI</system>
		<url>https://travis-ci.org/entailment/RollbarHandler</url>
	</ciManagement>
	<scm>
		<url>git@github.com:entailment/RollbarHandler.git</url>
		<connection>scm:git:git@github.com:entailment/RollbarHandler.git</connection>
		<developerConnection>scm:git:git@github.com:entailment/RollbarHandler.git</developerConnection>
	</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>

	<!-- Profiles -->
	<profiles>
		<profile>
			<id>deploy</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-compiler-plugin</artifactId>
						<version>3.5.1</version>
						<configuration>
							<source>1.7</source>
							<target>1.7</target>
						</configuration>
					</plugin>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-source-plugin</artifactId>
						<version>3.0.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.10.4</version>
						<configuration>
							<show>private</show>
							<failOnError>false</failOnError>
						</configuration>
						<executions>
							<execution>
								<id>attach-javadoc</id>
								<goals>
									<goal>jar</goal>
								</goals>
								<configuration>
									<additionalparam>-Xdoclint:none</additionalparam>
								</configuration>
							</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.7</version>
						<extensions>true</extensions>
						<configuration>
							<serverId>ossrh</serverId>
							<nexusUrl>https://oss.sonatype.org/</nexusUrl>
							<autoReleaseAfterClose>false</autoReleaseAfterClose>
						</configuration>
					</plugin>
				</plugins>
			</build>
		</profile>
		<profile>
			<id>travis</id>
			<build>
				<plugins>
					<plugin>
						<groupId>org.eluder.coveralls</groupId>
						<artifactId>coveralls-maven-plugin</artifactId>
						<version>4.2.0</version>
						<configuration>
							<repoToken>${env.COVERALLS_REPO_TOKEN}</repoToken>
						</configuration>
					</plugin>
					<plugin>
						<groupId>com.srcclr</groupId>
						<artifactId>srcclr-maven-plugin</artifactId>
						<version>2.0.4</version>
						<configuration>
							<apiToken>${env.SRCCLR_API_TOKEN}</apiToken>
						</configuration>
						<executions>
							<execution>
								<phase>verify</phase>
								<goals>
									<goal>scan</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
</project>