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

    <modelVersion>4.0.0</modelVersion>
    <groupId>com.atlassian.querylang</groupId>
    <artifactId>atlassian-query-lang-parent</artifactId>
    <version>3.0.0</version>
    <packaging>pom</packaging>

    <organization>
        <name>Atlassian</name>
    </organization>

    <name>atlassian-query-lang-parent</name>
    <description>This is the atlassian query lang parent</description>

    <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>

    <scm>
        <connection>scm:git:ssh://git@stash.atlassian.com:7997/conf/atlassian-query-lang.git</connection>
        <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/conf/atlassian-query-lang.git</developerConnection>
        <tag>atlassian-query-lang-parent-3.0.0</tag>
        <url>https://stash.atlassian.com/projects/CONF/repos/atlassian-query-lang/browse</url>
    </scm>
    <issueManagement>
        <system>jira</system>
        <url>https://jira.atlassian.com/browse/CRA</url>
    </issueManagement>
    <ciManagement>
        <system>bamboo</system>
        <url>https://confluence-bamboo.internal.atlassian.com/browse/CONFPLUGINS-CQL</url>
    </ciManagement>

    <properties>
        <maven.javadoc.skip>true</maven.javadoc.skip>
        <confluence.version>6.0.0-OD-2016.14.1-0054</confluence.version>
        <confluence.data.version>6.0.0-OD-2016.14.1-0054</confluence.data.version>
        <amps.version>6.0.8</amps.version>
        <plugin.testrunner.version>1.1.4</plugin.testrunner.version>
        <antlr.version>4.3</antlr.version>
        <slf4j.version>1.7.1</slf4j.version>
        <junit.version>4.11</junit.version>
        <hamcrest.version>1.3</hamcrest.version>
        <mockito.version>1.9.5</mockito.version>
        <jdkLevel>1.8</jdkLevel>
        <spring.version>4.1.6.RELEASE</spring.version>
        <atlassian.spring.scanner.version>1.2.13</atlassian.spring.scanner.version>
    </properties>

    <modules>
        <module>atlassian-query-lang-spi</module>
        <module>atlassian-query-lang</module>
    </modules>

    <build>
        <plugins>
            <!-- override the enforcer plugin so that we can do the release dance against a milestone of confluence -->
            <plugin>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.4.3</version>
                <configuration>
                    <!-- Ignoring integration tests on test phase so they just run in integration-test phase.-->
                    <!-- This configuration is necessary when using AMPS together with a parent POM.-->
                    <excludes>
                        <exclude>it/rest/**</exclude>
                        <exclude>**/*$*</exclude> <!-- surefire y u run inner classes -->
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence-java-api</artifactId>
                <version>${confluence.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.confluence</groupId>
                <artifactId>confluence</artifactId>
                <version>${confluence.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
            <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-all</artifactId>
                <version>${hamcrest.version}</version>
                <scope>test</scope>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-simple</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.antlr</groupId>
                <artifactId>antlr4-runtime</artifactId>
                <version>${antlr.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.annotations</groupId>
                <artifactId>atlassian-annotations</artifactId>
                <version>0.11</version>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>11.0.2</version>
            </dependency>
            <dependency>
                <groupId>joda-time</groupId>
                <artifactId>joda-time</artifactId>
                <version>2.3</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.util.concurrent</groupId>
                <artifactId>atlassian-util-concurrent</artifactId>
                <version>2.4.2</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugin</groupId>
                <artifactId>atlassian-spring-scanner-annotation</artifactId>
                <version>${atlassian.spring.scanner.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugin</groupId>
                <artifactId>atlassian-spring-scanner-runtime</artifactId>
                <version>${atlassian.spring.scanner.version}</version>
            </dependency>
            <!--Spring-->
            <dependency>
                <groupId>org.springframework</groupId>
                <artifactId>spring-context</artifactId>
                <version>${spring.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>
