<?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>
    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>atlassian-closedsource-pom</artifactId>
        <version>26.14</version>
    </parent>
    <scm>
        <connection>scm:git:git@bitbucket.org:atlassian/cross-product-quicknav.git</connection>
        <developerConnection>scm:git:git@bitbucket.org:atlassian/cross-product-quicknav.git</developerConnection>
        <url>https://bitbucket.org/atlassian/cross-product-quicknav</url>
    </scm>
    <organization>
        <name>Atlassian</name>
        <url>http://www.atlassian.com/</url>
    </organization>
    <groupId>com.atlassian.plugins</groupId>
    <artifactId>searchable-apps</artifactId>
    <version>1.5</version>
    <name>Atlassian Cross Product Quick Nav</name>
    <description>This plugin provides cross-product Quick Nav in a harmonious way.</description>
    <packaging>atlassian-plugin</packaging>
    <properties>
        <jira.version>6.0-OD-09</jira.version>
        <confluence.version>5.0-OD-7</confluence.version>
        <rest.version>2.7.0</rest.version>
        <fecru.version>2.8.1-20120829051639</fecru.version>
        <bamboo.version>4.2.2</bamboo.version>
        <refapp.version>2.17.0</refapp.version>
        <amps.version>4.1.5</amps.version>
        <qunit.maven.version>1.11</qunit.maven.version>
        <xvfb.enable>true</xvfb.enable>
        <xvfb.display>:20</xvfb.display>
    </properties>
    <dependencies>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.4</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
            <version>1.1.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.xml.bind</groupId>
            <artifactId>jaxb-api</artifactId>
            <version>2.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins.rest</groupId>
            <artifactId>atlassian-rest-common</artifactId>
            <version>2.6.7</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.sal</groupId>
            <artifactId>sal-api</artifactId>
            <version>2.9.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.applinks</groupId>
            <artifactId>applinks-api</artifactId>
            <version>3.9.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.6.4</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.6</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>13.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.plugins</groupId>
            <artifactId>atlassian-plugins-webfragment</artifactId>
            <version>3.0.0-m5</version>
            <scope>provided</scope>
        </dependency>
        <!--Compiled dependencies-->
        <dependency>
            <groupId>com.google.code.gson</groupId>
            <artifactId>gson</artifactId>
            <version>2.1</version>
        </dependency>
        <!--Test dependencies-->
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>atlassian-jira-pageobjects</artifactId>
            <version>6.0-OD-09</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.mockito</groupId>
            <artifactId>mockito-all</artifactId>
            <version>1.8.5</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.10</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <version>1.7.2</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.selenium</groupId>
            <artifactId>atlassian-webdriver-confluence</artifactId>
            <version>2.1.0.m3</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.confluence</groupId>
            <artifactId>confluence-test-support</artifactId>
            <version>5.0-rotp1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.jira</groupId>
            <artifactId>jira-func-tests</artifactId>
            <version>6.0-OD-01</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>qunit-maven-plugin</artifactId>
                <version>1.11</version>
                <executions>
                    <execution>
                        <phase>test</phase>
                        <goals>
                            <goal>test</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <includes>
                        <include>ut/**/*test.js</include>
                        <include>ut/**/*Test.js</include>
                    </includes>
                    <resourceLocations>
                        <resourceLocation>${project.basedir}/src/main/resources</resourceLocation>
                        <resourceLocation>${project.basedir}/src/test/resources</resourceLocation>
                    </resourceLocations>
                    <systemPropertyVariables>
                        <xvfb.enable>${xvfb.enable}</xvfb.enable>
                        <xvfb.display>${xvfb.display}</xvfb.display>
                    </systemPropertyVariables>
                </configuration>
            </plugin>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>maven-amps-plugin</artifactId>
                <version>4.1.5</version>
                <extensions>true</extensions>
                <configuration>
                    <products>
                        <product>
                            <id>jira</id>
                            <version>6.0-OD-09</version>
                        </product>
                        <product>
                            <id>confluence</id>
                            <version>5.0-OD-7</version>
                        </product>
                        <product>
                            <id>fecru</id>
                            <version>2.8.1-20120829051639</version>
                        </product>
                        <product>
                            <id>bamboo</id>
                            <version>4.2.2</version>
                        </product>
                    </products>
                    <testGroups>
                        <testGroup>
                            <id>confluence</id>
                            <!-- Unique id-->
                            <productIds>
                                <!-- Define the products (can use instanceId) needed for your tests -->
                                <productId>confluence</productId>
                            </productIds>
                            <includes>
                                <!-- ANT based filter for which test to include in this testGroup -->
                                <include>it/**/confluence/*.java</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>jira</id>
                            <!-- Unique id-->
                            <productIds>
                                <!-- Define the products (can use instanceId) needed for your tests -->
                                <productId>jira</productId>
                            </productIds>
                            <includes>
                                <!-- ANT based filter for which test to include in this testGroup -->
                                <include>it/**/jira/*.java</include>
                            </includes>
                        </testGroup>
                        <testGroup>
                            <id>jiraconf</id>
                            <productIds>
                                <productId>jira</productId>
                                <productId>confluence</productId>
                            </productIds>
                            <includes>
                                <include>it/**/jiraconf/*.java</include>
                            </includes>
                        </testGroup>
                    </testGroups>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-dispatcher-plugin</artifactId>
                    <version>4.1.5</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <profiles>
        <profile>
            <id>skiptests</id>
            <properties>
                <skipTests>true</skipTests>
            </properties>
        </profile>
    </profiles>
</project>
