<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>
	<parent>
		<groupId>com.botronsoft.pom</groupId>
		<artifactId>parent-pom</artifactId>
		<version>0.0.9</version>
	</parent>

	<groupId>com.botronsoft.cmj.spi</groupId>
	<artifactId>configuration-manager-spi</artifactId>
	<name>Configuration Manager SPI</name>
	<description>Configuration Manager Service Provider Interface for moving application configuration data
	</description>
	<version>1.0.0</version>

	<packaging>jar</packaging>

	<properties>
		<jdkLevel>1.8</jdkLevel>

		<jira.version>7.0.0</jira.version>
		<hamcrest.version>1.3</hamcrest.version>
		<junit.version>4.11</junit.version>
		<mockito.version>1.9.5</mockito.version>
	</properties>
	<dependencies>
		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-api</artifactId>
			<version>${jira.version}</version>
			<scope>provided</scope>
		</dependency>

		<!-- test dependencies -->
		<dependency>
			<groupId>org.hamcrest</groupId>
			<artifactId>hamcrest-all</artifactId>
			<version>${hamcrest.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>${junit.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>${mockito.version}</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
	<build>
		<plugins>
			<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>3.0.1</version>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<doclint>none</doclint>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<profiles>
		<profile>
			<id>release</id>
			<activation>
				<property>
					<name>release</name>
				</property>
			</activation>
			<build>
				<plugins>
					<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>
								<configuration>
									<keyname>${gpg.keyname}</keyname>
									<passphraseServerId>${gpg.keyname}</passphraseServerId>
									<secretKeyring>${gpg.secretRing}</secretKeyring>
									<publicKeyring>${gpg.publicRing}</publicKeyring>
									<gpgArguments>
										<arg>--no-tty</arg>
									</gpgArguments>
								</configuration>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
			<distributionManagement>
				<repository>
					<id>ossrh</id>
					<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
				</repository>
			</distributionManagement>
		</profile>
	</profiles>

	<!-- Required for publishing to Maven Central -->
	<licenses>
		<license>
			<name>Creative Commons — Attribution 4.0 International</name>
			<url>https://creativecommons.org/licenses/by/4.0/</url>
		</license>
	</licenses>
	<developers>
		<developer>
			<name>Botron Software Engineering</name>
			<email>oss@botronsoft.com</email>
			<organization>Botron Software</organization>
			<organizationUrl>http://www.botronsoft.com</organizationUrl>
		</developer>
	</developers>
	<scm>
		<connection>scm:git:git://bitbucket.org/botronsoft/cmj-spi.git</connection>
		<developerConnection>scm:git:ssh://bitbucket.org:botronsoft/cmj-spi.git</developerConnection>
		<url>https://bitbucket.org/botronsoft/cmj-spi/src/master/</url>
	</scm>
</project>
