<?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">
	<parent>
		<artifactId>portfolio-customfields</artifactId>
		<groupId>com.atlassian.rm</groupId>
		<version>1001.3.0-D20170306T163539</version>
		<relativePath>../pom.xml</relativePath>
	</parent>
	<modelVersion>4.0.0</modelVersion>

	<artifactId>portfolio-customfields-api</artifactId>

	<name>Portfolio 2 / Portfolio [Custom Fields - API]</name>

	<properties>

		<!-- clover -->
		<clover.targetPercentage>25.00%</clover.targetPercentage>
		<clover.methodPercentage>18.00%</clover.methodPercentage>
		<clover.statementPercentage>25.00%</clover.statementPercentage>
		<clover.conditionalPercentage>37.0%</clover.conditionalPercentage>

	</properties>

	<dependencies>

		<!-- common -->

		<dependency>
			<groupId>com.atlassian.rm</groupId>
			<artifactId>common-basics</artifactId>
			<version>${project.version}</version>
		</dependency>

		<dependency>
			<groupId>com.atlassian.rm</groupId>
			<artifactId>common-core</artifactId>
			<version>${project.version}</version>
		</dependency>

		<!-- portfolio -->

		<dependency>
			<groupId>com.atlassian.rm</groupId>
			<artifactId>portfolio-core</artifactId>
			<version>${project.version}</version>
		</dependency>

		<!-- plugin -->

		<dependency>
			<groupId>com.atlassian.rm</groupId>
			<artifactId>common-plugin</artifactId>
			<version>${project.version}</version>
		</dependency>

		<!-- jira -->

		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-api</artifactId>
			<version>${jira.api.version}</version>
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-core</artifactId>
			<version>${jira.api.version}</version>
			<scope>provided</scope>
		</dependency>

		<!-- utils -->

		<dependency>
			<groupId>com.google.guava</groupId>
			<artifactId>guava</artifactId>
		</dependency>

		<!-- pocketknife -->

		<dependency>
			<groupId>com.atlassian.pocketknife</groupId>
			<artifactId>jira-pocketknife-enablement</artifactId>
		</dependency>

		<!-- spring -->

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-core</artifactId>
			<version>${spring.version}</version>
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-context</artifactId>
			<version>${spring.version}</version>
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-web</artifactId>
			<version>${spring.version}</version>
			<scope>provided</scope>
		</dependency>

		<!-- test dependencies -->

		<dependency>
			<groupId>com.atlassian.rm</groupId>
			<artifactId>common-test-utils-unit</artifactId>
			<version>${project.version}</version>
			<scope>test</scope>
		</dependency>

	</dependencies>

	<profiles>

		<!-- clover -->
		<profile>
			<id>clover</id>
			<activation>
				<property>
					<name>coverage</name>
				</property>
			</activation>

			<build>
				<plugins>

					<plugin>

						<groupId>com.atlassian.maven.plugins</groupId>
						<artifactId>maven-clover2-plugin</artifactId>

						<configuration>

							<licenseLocation>${basedir}/../../../../builds/clover.license</licenseLocation>

						</configuration>

					</plugin>
				</plugins>
			</build>
		</profile>

	</profiles>

</project>