<?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>public-pom</artifactId>
        <version>5.0.21</version>
    </parent>

    <groupId>com.atlassian.cache</groupId>
    <artifactId>atlassian-cache-compat-parent</artifactId>
    <version>2.0</version>
    <packaging>pom</packaging>

    <name>Atlassian Cache - Compatibility Library Parent</name>
    <description>
        General compatibility library to enable cross-product, cross-version plugins to adopt cluster-safe caching.
        Your plugin should only need this if it needs to support product versions that predate their adoption of the
        atlassian-cache 2.x API.  Known minimum versions for that support include:

        * JIRA 6.2
        * Confluence 5.5

        Note: Confluence 5.4 supports clustered caches using the atlassian-cache 0.1 API.  This library *does not*
        support this.  Any plugin that requires correct cluster-safe caching in Confluence 5.4 will need to find
        an alternate solution to that problem.
    </description>
    <url>http://docs.atlassian.com/${project.artifactId}/${project.version}</url>

    <modules>
        <module>atlassian-cache-compat</module>
        <module>atlassian-cache-guava-10-compat</module>
        <module>atlassian-cache-guava-11-compat</module>
        <module>atlassian-cache-compat-common</module>
        <module>atlassian-cache-compat-tests</module>
    </modules>

    <issueManagement>
        <system>Jira</system>
        <url>http://jira.atlassian.com/browse/CACHE</url>
    </issueManagement>

    <scm>
        <connection>scm:git:ssh://git@bitbucket.org/atlassian/atlassian-cache-compat.git</connection>
        <developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/atlassian-cache-compat.git</developerConnection>
        <url>https://bitbucket.org/atlassian/atlassian-cache-compat</url>
      <tag>atlassian-cache-compat-parent-2.0</tag>
  </scm>

    <distributionManagement>
        <site>
            <id>atlassian-documentation</id>
            <url>scpexe://docs-app.internal.atlassian.com/var/www/domains/docs.atlassian.com/${project.artifactId}/${project.version}/</url>
        </site>
    </distributionManagement>

    <ciManagement>
        <system>Bamboo</system>
        <url>https://extranet-bamboo.internal.atlassian.com/browse/ACC</url>
    </ciManagement>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.atlassian.util.concurrent</groupId>
                <artifactId>atlassian-util-concurrent</artifactId>
                <version>${atlassian-util-concurrent.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.annotations</groupId>
                <artifactId>atlassian-annotations</artifactId>
                <version>${atlassian-annotations.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.bundles</groupId>
                <artifactId>jsr305</artifactId>
                <version>${jsr305.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.sal</groupId>
                <artifactId>sal-api</artifactId>
                <version>${sal.version}</version>
            </dependency>
            <dependency>
                <groupId>com.google.guava</groupId>
                <artifactId>guava</artifactId>
                <version>${guava.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>

            <!-- Test -->
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-simple</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-core</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>
            <dependency>
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>${hamcrest.version}</version>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <profiles>
        <profile>
            <id>skipSitePlugin</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-site-plugin</artifactId>
                        <configuration>
                            <skip>true</skip>
                            <skipDeploy>true</skipDeploy>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

        <!-- Direct dependencies -->
        <guava.version>10.0.1</guava.version>
        <jsr305.version>1.1</jsr305.version>
        <slf4j.version>1.6.4</slf4j.version>

        <!--
           These dependencies could impact cross-version compatibility.  Please keep them back-revved to avoid
           introducing a dependency that is newer than will be provided by the minimum supported platform.
        -->
        <atlassian-annotations.version>0.7</atlassian-annotations.version>
        <atlassian-cache.version>2.0.10</atlassian-cache.version>
        <atlassian-util-concurrent.version>4.0.1</atlassian-util-concurrent.version>
        <sal.version>2.7.0</sal.version>

        <!-- Test dependencies -->
        <hamcrest.version>1.3</hamcrest.version>
        <junit.version>4.11</junit.version>
        <mockito.version>1.9.5</mockito.version>
    </properties>
</project>
