<?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>closedsource-private-pom</artifactId>
        <version>6.3.8</version>
        <relativePath />
    </parent>

    <groupId>com.atlassian.plugins</groupId>
    <artifactId>atlassian-dark-features-parent</artifactId>
    <version>2.0.0</version>
    <name>Atlassian Dark Features Parent</name>
    <description>Expose control about dark features at various interfaces.</description>
    <packaging>pom</packaging>

    <scm>
        <connection>scm:git:git@bitbucket.org:atlassian/atlassian-dark-features.git</connection>
        <developerConnection>scm:git:git@bitbucket.org:atlassian/atlassian-dark-features.git</developerConnection>
        <url>https://bitbucket.org/atlassian/atlassian-dark-features</url>
        <tag>atlassian-dark-features-parent-2.0.0</tag>
    </scm>

    <modules>
        <module>atlassian-dark-features-rest-plugin</module>
        <module>atlassian-dark-features-test-utils</module>
        <module>atlassian-dark-features-ui-plugin</module>
    </modules>

    <properties>
        <maven.compiler.release>17</maven.compiler.release>

        <platform.dependencies.version>7.0.7</platform.dependencies.version>

        <amps.version>8.16.0</amps.version>
        <bitbucket.version>9.0.0-breakit-m05</bitbucket.version>
        <refapp.version>${platform.dependencies.version}</refapp.version>

        <jira.version>8.5.0</jira.version>
        <confluence.version>7.4.0</confluence.version>
        <crowd.version>4.2</crowd.version>
        <fecru.version>2.8.1-20120829051639</fecru.version>
        <bamboo.version>7.0</bamboo.version>

        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>
        <amps.parallel>false</amps.parallel>
        <xvfb.enable>true</xvfb.enable>
        <devtools.enable>false</devtools.enable>
        <maven.javadoc.skip>true</maven.javadoc.skip>

        <atlassian-pageobjects-api.version>3.3.5</atlassian-pageobjects-api.version>
        <hamcrest.version>2.2</hamcrest.version>
        <junit.version>4.13.2</junit.version>
        <mockito.version>4.8.0</mockito.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-public-api</artifactId>
                <version>${platform.dependencies.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-internal-api</artifactId>
                <version>${platform.dependencies.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>

            <dependency>
                <groupId>com.atlassian.bitbucket.server</groupId>
                <artifactId>bitbucket-it-common</artifactId>
                <version>${bitbucket.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.selenium</groupId>
                <artifactId>atlassian-pageobjects-api</artifactId>
                <version>${atlassian-pageobjects-api.version}</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.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>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>amps-maven-plugin</artifactId>
                    <version>${amps.version}</version>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <arguments>-DskipITs=true -Dmaven.javadoc.skip=true</arguments>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
