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

    <groupId>com.atlassian.cache</groupId>
    <artifactId>atlassian-cache-compat</artifactId>
    <version>1.1-m1</version>

    <name>Atlassian Cache - Compatibility Library</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>

    <dependencies>
        <!-- External -->
        <dependency>
            <groupId>com.atlassian.cache</groupId>
            <artifactId>atlassian-cache-api</artifactId>
            <version>${atlassian-cache.version}</version>
            <scope>provided</scope>
            <optional>true</optional><!-- Must not come in as a transitive dependency! -->
        </dependency>
        <dependency>
            <groupId>com.atlassian.util.concurrent</groupId>
            <artifactId>atlassian-util-concurrent</artifactId>
            <version>${atlassian-util-concurrent.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.annotations</groupId>
            <artifactId>atlassian-annotations</artifactId>
            <version>${atlassian-annotations.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.bundles</groupId>
            <artifactId>jsr305</artifactId>
            <version>${jsr305.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.atlassian.sal</groupId>
            <artifactId>sal-api</artifactId>
            <version>${sal.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>${guava.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>${slf4j.version}</version>
            <scope>provided</scope>
        </dependency>

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

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

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