<?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/maven-v4_0_0.xsd">
	<parent>
		<groupId>com.atlassian.pom</groupId>
		<artifactId>closedsource-pom</artifactId>
		<version>2.0.5</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.atlassian.jira</groupId>
	<artifactId>jira-mail-plugin</artifactId>
	<!-- Please use format x.x.x, no point in using x.x.x-mx or x.x.x.x - this is an internal plugin used only by JIRA and not available in public -->
	<version>6.2.5</version>
	<name>Atlassian JIRA - Plugins - Mail Plugin</name>
	<description>Handles incoming and outgoing mail</description>
	<packaging>atlassian-plugin</packaging>
	<scm>
		<connection>scm:git:ssh://git@bitbucket.org/atlassian/jira-mail-plugin.git</connection>
		<developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/jira-mail-plugin.git</developerConnection>
		<url>http://bitbucket.org/atlassian/jira-mail-plugin</url>
	</scm>
	<build>
		<testResources>
			<testResource>
				<directory>src/test/resources</directory>
			</testResource>
			<testResource>
				<directory>src/test/xml</directory>
				<targetPath>xml</targetPath>
			</testResource>
		</testResources>
		<plugins>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>build-helper-maven-plugin</artifactId>
				<version>1.7</version>
			</plugin>
			<plugin>
				<artifactId>maven-surefire-plugin</artifactId>
                <version>2.16</version>
				<configuration>
					<skip>${maven.test.unit.skip}</skip>
					<excludes>
						<exclude>**/it/**</exclude>
						<exclude>**/*$*</exclude>
					</excludes>
				</configuration>
			</plugin>
			<plugin>
				<groupId>com.atlassian.maven.plugins</groupId>
				<artifactId>maven-jira-plugin</artifactId>
				<version>${amps.version}</version>
				<extensions>true</extensions>
				<configuration>
					<productVersion>${jira.version}</productVersion>
					<productDataVersion>${jira.data.version}</productDataVersion>
					<pluginArtifacts>
						<pluginArtifact>
							<groupId>com.atlassian.jira.tests</groupId>
							<artifactId>jira-testkit-plugin</artifactId>
							<version>${testkit.version}</version>
						</pluginArtifact>
					</pluginArtifacts>
					<systemProperties>
						<property>
							<name>atlassian.test.target.dir</name>
							<value>${project.build.directory}</value>
						</property>
						<property>
							<name>atlassian.mail.senddisabled</name>
							<value>false</value>
						</property>
						<property>
							<name>atlassian.mail.fetchdisabled</name>
							<value>false</value>
						</property>
					</systemProperties>
					<instructions>
						<Export-Package>
							com.atlassian.jira.plugins.mail.handlers*,
							com.atlassian.jira.plugins.mail.webwork*,
							com.atlassian.jira.plugins.mail
						</Export-Package>
					</instructions>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<preparationGoals>clean test</preparationGoals>
					<releaseProfiles>releaseProfile</releaseProfiles>
					<!--allowTimestampedSnapshots>true</allowTimestampedSnapshots-->
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
						<configuration>
							<forceCreation>true</forceCreation>
						</configuration>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>net.sf.alchim</groupId>
				<artifactId>yuicompressor-maven-plugin</artifactId>
				<version>0.7.1</version>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.twdata.maven</groupId>
				<artifactId>cargo-maven2-plugin</artifactId>
				<version>1.0-beta-2-db2</version>
			</plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <version>2.12.4</version>
            </plugin>
		</plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-plugin</artifactId>
                    <version>${amps.version}</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-dispatcher-plugin</artifactId>
                    <version>${amps.version}</version>
                </plugin>
            </plugins>
        </pluginManagement>
	</build>
	<dependencies>
		<dependency>
			<groupId>com.atlassian</groupId>
			<artifactId>atlassian-test-categories</artifactId>
			<version>0.5</version>
		</dependency>
		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-core</artifactId>
			<version>${jira.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-api</artifactId>
			<version>${jira.version}</version>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>xerces</groupId>
					<artifactId>xercesImpl</artifactId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-core-asl</artifactId>
			<version>${jackson.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-mapper-asl</artifactId>
			<version>${jackson.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>org.codehaus.jackson</groupId>
			<artifactId>jackson-jaxrs</artifactId>
			<version>${jackson.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.atlassian.core</groupId>
			<artifactId>atlassian-core</artifactId>
			<version>4.6.0</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>javax.ws.rs</groupId>
			<artifactId>jsr311-api</artifactId>
			<version>1.1</version>
			<scope>provided</scope>
		</dependency>
        <dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-webdriver-tests</artifactId>
			<version>${jira.test.lib.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.atlassian.jira.tests</groupId>
			<artifactId>jira-func-test-basics</artifactId>
			<version>${func.test.basic.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.atlassian.jira</groupId>
			<artifactId>jira-tests</artifactId>
			<version>${jira.test.lib.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>mockobjects</groupId>
			<artifactId>mockobjects-j1.4-j2ee1.3</artifactId>
			<version>0.07</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>mockobjects</groupId>
			<artifactId>mockobjects-dev</artifactId>
			<version>JIRA311-DEV</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.atlassian.jira.tests</groupId>
			<artifactId>jira-testkit-client</artifactId>
			<version>${testkit.version}</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.google.code.findbugs</groupId>
			<artifactId>jsr305</artifactId>
			<version>${jsr305.version}</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.5</version>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.sun.jersey</groupId>
			<artifactId>jersey-client</artifactId>
			<version>${jersey.client.version}</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>
	<properties>
        <jira.version>6.2.2</jira.version>
        <jira.data.version>${jira.version}</jira.data.version>
		<jira.test.lib.version>${jira.version}</jira.test.lib.version>
		<testkit.version>6.2.5</testkit.version>
		<jersey.client.version>1.5</jersey.client.version>
		<guava.version>10.0.1</guava.version>
		<jackson.version>1.9.1</jackson.version>
		<jsr305.version>1.3.9</jsr305.version>
		<func.test.basic.version>1.9.2</func.test.basic.version>
		<jvmargs>-XX:MaxPermSize=384m</jvmargs>
		<maven.test.unit.skip>false</maven.test.unit.skip>
		<amps.version>4.2.10</amps.version>
	</properties>
	<profiles>
		<profile>
			<id>releaseProfile</id>
			<properties>
				<maven.test.unit.skip>true</maven.test.unit.skip>
				<skipTests>true</skipTests>
                <jira.version>6.2.3-20140408.110450</jira.version>
			</properties>
		</profile>
	</profiles>
    <licenses>
        <license>
            <name>Atlassian 3.0 End User License Agreement</name>
            <url>http://www.atlassian.com/end-user-agreement/</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
</project>
