<?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/xsd/maven-4.0.0.xsd">
    <parent>
        <artifactId>confluence-plugins</artifactId>
        <groupId>com.atlassian.confluence</groupId>
        <version>10.0.0-m20</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>confluence-plugins-platform-test-pom</artifactId>
    <packaging>pom</packaging>

    <name>Confluence Plugins Platform Test POM</name>
    <description>
        This pom is a cousin of confluence-plugins-platform-pom. It is intended to be used by plugins which are built
        outside of the scope of the main Confluence project. It acts as a way of managing the dependencies of test
        libraries for those plugins so that they match the Confluence version.

        It means that the plugins no longer have to manually specify the version of stuff like htmlunit, selenium and
        confluence-stateless-test-runner

        e.g.

        <![CDATA[
        <dependencyManagement>
            <dependencies>
                <dependency>
                    <groupId>com.atlassian.confluence</groupId>
                    <artifactId>confluence-plugins-platform-test-pom</artifactId>
                    <version>${confluence.version}</version>
                    <type>pom</type>
                    <scope>import</scope>
                </dependency>
            </dependencies>
        </dependencyManagement>
        ]]>

    </description>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <!-- Deprecated dependency, plugins should migrate to org.hamcrest:hamcrest -->
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-core</artifactId>
                <version>1.3</version>
            </dependency>
            <dependency>
                <!-- Deprecated dependency, plugins should migrate to org.hamcrest:hamcrest -->
                <groupId>org.hamcrest</groupId>
                <artifactId>hamcrest-library</artifactId>
                <version>1.3</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>
