<?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">
    <modelVersion>4.0.0</modelVersion>

    <parent>
        <groupId>com.atlassian.bitbucket.server</groupId>
        <artifactId>bitbucket-parent</artifactId>
        <version>8.19.9</version>
    </parent>

    <artifactId>bitbucket-scm-parent</artifactId>
    <packaging>pom</packaging>

    <name>Bitbucket Server - SCM Parent</name>

    <profiles>
        <profile>
            <id>normal-build</id>
            <activation>
                <property>
                    <name>!api-compat</name>
                </property>
            </activation>
            <modules>
                <module>cache</module>
                <module>common</module>
                <module>git-api</module>
                <module>git-binary</module>
                <module>git-common</module>
                <module>git-mesh</module>
                <module>git</module>
                <module>process-api</module>
                <module>process</module>
                <module>test-util</module>
            </modules>
        </profile>
        <!-- To activate this profile, use -Dapi-compat. Otherwise, it will include all the modules rather than just
the ones that we want to check. Alternatively you can use -Papi-compat,\!normal-build to achieve the same thing -->
        <profile>
            <id>api-compat</id>
            <activation>
                <property>
                    <name>api-compat</name>
                </property>
            </activation>
            <modules>
                <module>cache</module>
                <module>common</module>
                <module>git-api</module>
                <module>git-common</module>
                <module>test-util</module>
            </modules>
        </profile>
        <profile>
            <id>release</id>
        </profile>
    </profiles>
</project>
