<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>guru.breakthemonolith</groupId>
	<artifactId>DockerProcessAPI</artifactId>
	<version>0.1.0-rc2</version>
	<name>DockerProcessAPI</name>
	<description>DockerProcessAPI</description>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</properties>

	<developers>
		<developer>
			<name>Derek C. Ashmore</name>
		</developer>
	</developers>

	<dependencies>
		<dependency>
			<groupId>org.force66</groupId>
			<artifactId>ValueObjectBase</artifactId>
			<version>1.0.0-rc2</version>
		</dependency>
		<dependency>
			<groupId>org.apache.commons</groupId>
			<artifactId>commons-lang3</artifactId>
			<version>3.5</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-api</artifactId>
			<version>1.7.21</version>
		</dependency>
		<dependency>
			<groupId>commons-io</groupId>
			<artifactId>commons-io</artifactId>
			<version>2.5</version>
		</dependency>



		<!-- Test dependencies -->
		<dependency>
			<groupId>org.force66</groupId>
			<artifactId>BeanTester</artifactId>
			<version>1.0.0</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.12</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.10.19</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-simple</artifactId>
			<version>1.7.21</version>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.2</version>
				<configuration>
					<source>1.7</source>
					<target>1.7</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.pitest</groupId>
				<artifactId>pitest-maven</artifactId>
				<version>1.1.3</version>
				<configuration>
					<targetClasses>
						<param>guru.breakthemonolith*</param>
					</targetClasses>
					<targetTests>
						<param>guru.breakthemonolith*</param>
					</targetTests>
				</configuration>
				<executions>
					<execution>
						<id>report-coverage</id>
						<phase>package</phase>
						<goals>
							<goal>mutationCoverage</goal>
						</goals>
					</execution>
				</executions>
			</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</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.10.4</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<artifactId>maven-antrun-plugin</artifactId>
				<version>1.7</version>
				<executions>
					<execution>
						<phase>install</phase>
						<configuration>
							<tasks>
								<property environment="env" />
								<fail if="#{env.GPG_HOME}" message="GPG_HOME environment variable not defined." />
								<mkdir dir="target/mavenrepo" />
								<copy file="pom.xml"
									tofile="target/mavenrepo/DockerProcessAPI-0.1.0-rc2.pom" />
								<replace
									file="target/mavenrepo/DockerProcessAPI-0.1.0-rc2.pom">
									<replacefilter>
										<replacetoken>#</replacetoken>
										<replacevalue>#</replacevalue>
									</replacefilter>
									<replacefilter>
										<replacetoken>0.1.0-rc2</replacetoken>
										<replacevalue>0.1.0-rc2</replacevalue>
									</replacefilter>
									<replacefilter>
										<replacetoken>https://github.com/BreakTheMonolith/DockerProcessAPI</replacetoken>
										<replacevalue>https://github.com/BreakTheMonolith/DockerProcessAPI</replacevalue>
									</replacefilter>
									<replacefilter>
										<replacetoken>DockerProcessAPI</replacetoken>
										<replacevalue>DockerProcessAPI</replacevalue>
									</replacefilter>
								</replace>

								<copy todir="target/mavenrepo">
									<fileset dir="target" includes="*.jar" />
								</copy>

								<exec executable="cmd" dir="target/mavenrepo">
									<env key="PATH" path="#{env.GPG_HOME}" />
									<arg line="/c" />
									<arg line="gpg2.exe" />
									<arg line="-ab" />
									<arg
										line="#{project.build.directory}\mavenrepo\DockerProcessAPI-0.1.0-rc2.pom" />
								</exec>
								<exec executable="cmd" dir="target/mavenrepo">
									<env key="PATH" path="#{env.GPG_HOME}" />
									<arg line="/c" />
									<arg line="gpg2.exe" />
									<arg line="-ab" />
									<arg
										line="#{project.build.directory}\mavenrepo\DockerProcessAPI-0.1.0-rc2.jar" />
								</exec>
								<exec executable="cmd" dir="target/mavenrepo">
									<env key="PATH" path="#{env.GPG_HOME}" />
									<arg line="/c" />
									<arg line="gpg2.exe" />
									<arg line="-ab" />
									<arg
										line="#{project.build.directory}\mavenrepo\DockerProcessAPI-0.1.0-rc2-javadoc.jar" />
								</exec>
								<exec executable="cmd" dir="target/mavenrepo">
									<env key="PATH" path="#{env.GPG_HOME}" />
									<arg line="/c" />
									<arg line="gpg2.exe" />
									<arg line="-ab" />
									<arg
										line="#{project.build.directory}\mavenrepo\DockerProcessAPI-0.1.0-rc2-sources.jar" />
								</exec>
								<jar destfile="target/DockerProcessAPI-0.1.0-rc2-bundle.jar">
									<fileset dir="target/mavenrepo" includes="*.jar" />
									<fileset dir="target/mavenrepo" includes="*.pom" />
									<fileset dir="target/mavenrepo" includes="*.asc" />
								</jar>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>

	</build>

	<licenses>
		<license>
			<name>The Apache Software License, Version 2.0</name>
			<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
		</license>
	</licenses>
	<url>https://github.com/BreakTheMonolith/DockerProcessAPI</url>
	<scm>
		<url>https://github.com/BreakTheMonolith/DockerProcessAPI.git</url>
		<connection>scm:git:https://github.com/BreakTheMonolith/DockerProcessAPI.git</connection>
		<developerConnection>Derek C. Ashmore</developerConnection>
	</scm>
</project>