<?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">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.atlassian.jira.plugins</groupId>
    <artifactId>jira-dnd-attachment-parent</artifactId>
    <version>4.2.11</version>
    <organization>
        <name>Atlassian Pty Ltd.</name>
        <url>http://www.atlassian.com/</url>
    </organization>
    <name>jira-dnd-attachment-parent</name>
    <packaging>pom</packaging>
    
    <modules>
        <module>applet</module>
        <module>plugin</module>
        <module>tests</module>
    </modules>

    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>public-pom</artifactId>
        <version>3.0.88</version>
    </parent>

    <scm>
        <connection>scm:git:ssh://git@bitbucket.org/atlassian/jira-drag-drop-attachments-plugin.git</connection>
        <developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/jira-drag-drop-attachments-plugin.git</developerConnection>
        <url>https://bitbucket.org/atlassian/jira-drag-drop-attachments-plugin</url>
      <tag>jira-dnd-attachment-parent-4.2.11</tag>
  </scm>

	<licenses>
	    <license>
	        <name>The New BSD License</name>
	        <url>http://www.opensource.org/licenses/bsd-license.html</url>
	  	    <distribution>repo</distribution>	  
	    </license>
	</licenses>

  <dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.6.4</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-api</artifactId>
            <version>${jira.version}</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-rest-api</artifactId>
            <version>${jira.version}</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.qunit</groupId>
            <artifactId>atlassian-qunit-plugin</artifactId>
            <version>${atlassian.qunit.version}</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.qunit</groupId>
            <artifactId>atlassian-qunit-plugin-util</artifactId>
            <version>${atlassian.qunit.version}</version>
        </dependency>
        <!-- atlassian-webdriver-core is the only dep we should be defining, unfortunately com.atlassian.jira:atlassian-jira-pageobjects drags
             in an old and incompatible version of selenium-api and atlassian-pageobjects-api-->
        <dependency>
            <groupId>com.atlassian.selenium</groupId>
            <artifactId>atlassian-pageobjects-api</artifactId>
            <version>2.3-m8</version>
        </dependency>
        <dependency>
            <groupId>org.seleniumhq.selenium</groupId>
            <artifactId>selenium-api</artifactId>
            <version>2.42.2</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.json</groupId>
            <artifactId>atlassian-json-api</artifactId>
            <version>0.9</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins.rest</groupId>
            <artifactId>atlassian-rest-common</artifactId>
            <scope>provided</scope>
            <version>${rest.version}</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.security</groupId>
            <artifactId>atlassian-secure-random</artifactId>
            <version>3.2.3</version>
        </dependency>
        <!-- WIRED TEST RUNNER DEPENDENCIES -->
        <dependency>
            <groupId>com.atlassian.plugins</groupId>
            <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
            <version>${plugin.testrunner.version}</version>
        </dependency>
        <dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
            <version>1.1.1</version>
        </dependency>
        <dependency>
            <groupId>com.atlassian.browsers</groupId>
            <artifactId>atlassian-browsers-linux</artifactId>
            <version>2.3.1</version>
        </dependency>
        <!-- forked deps screwing things up again, go away org.apache.httpcomponents:httpclient:jar:4.2.1-atlassian-2 -->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.4</version>
        </dependency>

        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpcore</artifactId>
            <version>4.4</version>
        </dependency>
    </dependencies>
  </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5</version>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <properties>
        <jira.version>7.1.0-QR20151117112500</jira.version>
        <jira.test.version>${jira.version}</jira.test.version>
        <jira.data.version>${jira.version}</jira.data.version>
        <rest.version>2.9.10</rest.version>

        <testkit.version>7.0.103</testkit.version>
        <hamcrest.version>1.2</hamcrest.version>
        <junit.version>4.10</junit.version>
        <mockito.version>1.9.0</mockito.version>

        <amps.version>5.0.16</amps.version>
        <plugin.testrunner.version>1.1.1</plugin.testrunner.version>
        <atlassian.qunit.version>1.0.0</atlassian.qunit.version>
        <atlassian.pageobjects.api.version>2.1-m18</atlassian.pageobjects.api.version>
        <applet.manifest.application.name>JIRA HTML5 Attach Images Applet</applet.manifest.application.name>
        <applet.manifest.permissions>all-permissions</applet.manifest.permissions>
    </properties>


    <!--<profiles>-->
        <!--<profile>-->
            <!--<id>release</id>-->
            <!--<properties>-->
                <!--<skipTests>true</skipTests>-->
            <!--</properties>-->
        <!--</profile>-->
        <!--<profile>-->
            <!--<id>freezer-release-profile</id>-->
            <!--<properties>-->
                <!--&lt;!&ndash; we want to run tests in freezer 1 publish &ndash;&gt;-->
                <!--<skipTests>false</skipTests>-->
            <!--</properties>-->
        <!--</profile>-->
        <!--<profile>-->
            <!--<id>unit-tests</id>-->
            <!--<build>-->
                <!--<plugins>-->
                    <!--&lt;!&ndash; skip integration tests &ndash;&gt;-->
                    <!--<plugin>-->
                        <!--<groupId>com.atlassian.maven.plugins</groupId>-->
                        <!--<artifactId>maven-jira-plugin</artifactId>-->
                        <!--<configuration>-->
                            <!--<skipTests>true</skipTests>-->
                        <!--</configuration>-->
                    <!--</plugin>-->
                <!--</plugins>-->
            <!--</build>-->
        <!--</profile>-->
    <!--</profiles>-->

</project>
