<?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>3.0.105</version>
    </parent>

    <groupId>com.atlassian.servicedesk</groupId>
    <artifactId>jira-servicedesk-application-parent</artifactId>
    <version>3.2.3-036</version>

    <modelVersion>4.0.0</modelVersion>

    <name>JIRA Service Desk Parent POM</name>
    <description>JIRA Service Desk application definition.</description>
    <packaging>pom</packaging>

    <licenses>
        <license>
            <distribution>repo</distribution>
            <name>Atlassian 3.0 End User License Agreement</name>
            <url>http://www.atlassian.com/end-user-agreement/</url>
        </license>
    </licenses>

    <modules>
        <module>jira-servicedesk-application</module>
        <!--<module>tests</module>-->
    </modules>

    <organization>
        <name>Atlassian</name>
        <url>http://www.atlassian.com</url>
    </organization>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.8</source>
                    <target>1.8</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-jira-plugin</artifactId>
                <version>${amps.version}</version>
            </plugin>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-amps-plugin</artifactId>
                <version>${amps.version}</version>
            </plugin>
            <!--
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <skip>${skipUTs}</skip>
                    <excludes>
                        <exclude>**/it/**</exclude>
                        <exclude>**/*$*</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <arguments>-Dxvfb.enable=${xvfb.enable} -DskipTests=${skipTests}</arguments>
                </configuration>
            </plugin>
            -->
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>

            <!-- Test dependencies -->
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <scope>test</scope>
                <version>${junit.version}</version>
                <exclusions>
                    <exclusion>
                        <artifactId>hamcrest-core</artifactId>
                        <groupId>org.hamcrest</groupId>
                    </exclusion>
                </exclusions>
            </dependency>

            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-all</artifactId>
                <version>${hamcrest.version}</version>
                <scope>test</scope>
            </dependency>

        </dependencies>

    </dependencyManagement>

    <properties>
        <!-- Core -->
        <amps.version>6.2.1</amps.version>
        <jira.version>7.2.5-SNAPSHOT</jira.version>
        <servicedesk.version>3.2.0-094</servicedesk.version>
        <automation.version>2.2.2</automation.version>
        <timed.promise.version>2.1.6</timed.promise.version>
        <workinghours.version>2.1.3</workinghours.version>
        <jira.email.processor.plugin.version>2.2.6</jira.email.processor.plugin.version>
        <atlassian.client.resource.version>1.2.4</atlassian.client.resource.version>
        <chaperone.version>3.0.5</chaperone.version>
        <pocketknife.api.commons.version>0.21.1</pocketknife.api.commons.version>
        <pocketknife.features.plugin.version>0.8.0-D20160408T002301</pocketknife.features.plugin.version>

        <jwt.plugin.version>1.6.0-0005</jwt.plugin.version>
        <!-- The reason I need to put the required version is in server release upm is also export com.atlassian.jwt
         (they only compiled jwt-api and jwt-core with them) so when upm resolve our servicedesk-applciation and
         resolve its dependency which is jwt-plugin, it see that upm already provided it and ignore jwt-plugin.
          Therefore, we have to put a required version, so upm will not ignore our dependency and install jwt-plugin -->
        <jwt.plugin.osgi.required.version>1.6.0</jwt.plugin.osgi.required.version>

        <!-- Language packs -->
        <language.pack.german>3.2.0.OD-17-001-D20160623T024052-v2r180-2016-06-24</language.pack.german>
        <language.pack.french>3.2.0.OD-17-001-D20160623T024052-v2r196-2016-06-24</language.pack.french>
        <language.pack.japanese>3.2.0.OD-17-001-D20160623T024052-v2r242-2016-06-24</language.pack.japanese>
        <language.pack.spanish>3.2.0.OD-17-001-D20160623T024052-v2r218-2016-06-24</language.pack.spanish>
        <language.pack.korean>3.2.0.OD-17-001-D20160623T024052-v2r124-2016-06-24</language.pack.korean>
        <language.pack.brazil>3.2.0.OD-17-001-D20160623T024052-v2r422-2016-06-24</language.pack.brazil>
        <language.pack.russian>3.2.0.OD-17-001-D20160623T024052-v2r456-2016-06-24</language.pack.russian>

        <!-- Test -->
        <junit.version>4.11</junit.version>
        <hamcrest.version>1.3</hamcrest.version>
        <atlassian.selenium.version>2.3-m01</atlassian.selenium.version>
        <xvfb.enable>false</xvfb.enable>

        <!-- Skip all of the tests -->
        <skipTests>false</skipTests>

        <!-- Skip only the integration tests -->
        <skipITs>${skipTests}</skipITs>

        <!-- Skip most of the unit tests. Can't seem to skip them all -->
        <skipUTs>${skipTests}</skipUTs>

        <!-- Take out when we don't use rc versions of jira and servicedesk -->
        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>
    </properties>

    <scm>
        <connection>scm:git:ssh://git@stash.atlassian.com:7997/sdserver/jira-servicedesk-application.git</connection>
        <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/sdserver/jira-servicedesk-application.git</developerConnection>
        <url>https://stash.atlassian.com/projects/SDSERVER/repos/jira-servicedesk-application</url>
        <tag>HEAD</tag>
    </scm>

    <!--
    <ciManagement>
        <system>Bamboo</system>
        <url>https://servicedesk-bamboo.internal.atlassian.com/browse/SDA</url>
    </ciManagement>
    -->

</project>