<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.atlassian.confluence.plugins</groupId>
        <artifactId>confluence-ancillary-plugins</artifactId>
        <version>20.3.14</version>
    </parent>

    <groupId>com.atlassian.querylang</groupId>
    <artifactId>confluence-cql-plugin-parent</artifactId>
    <packaging>pom</packaging>

    <name>confluence-cql-plugin-parent</name>
    <description>This is the confluence cql plugin parent</description>
    <organization>
        <name>Atlassian</name>
    </organization>
    <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>

    <modules>
        <module>confluence-cql-plugin</module>
        <module>confluence-cql-test-support</module>
        <module>confluence-query-lang-spi</module>
        <module>integration-tests</module>
    </modules>

    <issueManagement>
        <system>jira</system>
        <url>https://jira.atlassian.com/browse/CRA</url>
    </issueManagement>
    <ciManagement>
        <system>bamboo</system>
        <url>https://server-syd-bamboo.internal.atlassian.com/browse/CBP-CQL</url>
    </ciManagement>

    <properties>
        <antlr.version>4.3</antlr.version>
        <aql.version>6.0.0</aql.version>

        <!-- Test dependencies -->
        <junit.jupiter.version>5.10.3</junit.jupiter.version>
        <maven.javadoc.skip>true</maven.javadoc.skip>
        <mockito.version>5.12.0</mockito.version>

        <!-- sbom properties -->
        <node.install.skip>true</node.install.skip>
        <npm.workspace.install.skip>true</npm.workspace.install.skip>
        <reflections.vesion>0.10.2</reflections.vesion>
        <webdriver.browser>chrome</webdriver.browser>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.querylang</groupId>
                <artifactId>atlassian-query-lang</artifactId>
                <version>${aql.version}</version>
                <exclusions>
                    <exclusion>
                        <groupId>io.atlassian.util.concurrent</groupId>
                        <artifactId>*</artifactId>
                    </exclusion>
                    <exclusion>
                        <groupId>org.apache.commons</groupId>
                        <artifactId>*</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>
            <dependency>
                <groupId>com.atlassian.querylang</groupId>
                <artifactId>atlassian-query-lang-spi</artifactId>
                <version>${aql.version}</version>
            </dependency>
            <dependency>
                <groupId>org.antlr</groupId>
                <artifactId>antlr4-runtime</artifactId>
                <version>${antlr.version}</version>
            </dependency>
            <dependency>
                <groupId>org.reflections</groupId>
                <artifactId>reflections</artifactId>
                <version>${reflections.vesion}</version>
            </dependency>
            <!-- Test dependencies -->
            <dependency>
                <groupId>org.junit.jupiter</groupId>
                <artifactId>junit-jupiter</artifactId>
                <version>${junit.jupiter.version}</version>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-junit-jupiter</artifactId>
                <version>${mockito.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>
</project>
