<?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-project</artifactId>
        <groupId>com.atlassian.confluence</groupId>
        <version>9.0.3</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>confluence-api</artifactId>
    <packaging>pom</packaging>

    <name>Confluence API Project</name>
    <modules>
        <module>confluence-java-api</module>
        <module>confluence-api-test-support</module>
        <module>confluence-rest-api</module>
        <module>confluence-rest-v2-api</module>
        <module>confluence-rest-client</module>
        <module>confluence-rest-client-restv2</module>
        <module>confluence-rest-serialization</module>
        <module>confluence-swagger-enrichers</module>
        <module>confluence-rest-serialization-jackson2</module>
    </modules>

    <issueManagement>
        <system>Jira</system>
        <url>https://jira.atlassian.com/browse/CRA</url>
    </issueManagement>

    <properties>
        <!-- Limit the API and its machinery to Java 8, so as not to force legacy REST clients to upgrade to Java 11 -->
        <maven.compiler.release>8</maven.compiler.release>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>analyze-only</goal>
                        </goals>
                        <configuration>
                            <failOnWarning>true</failOnWarning>
                            <ignoreNonCompile>true</ignoreNonCompile>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
