<?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-public-plugins</artifactId>
        <version>20.2.23</version>
    </parent>

    <artifactId>confluence-create-content-plugin-parent</artifactId>
    <packaging>pom</packaging>

    <name>Confluence Create Content Plugin Parent</name>
    <description>This is the Confluence Create Content Plugin for Atlassian Confluence.</description>

    <modules>
        <module>api</module>
        <module>functional-tests</module>
        <module>plugin</module>
        <module>test-support</module>
    </modules>

    <distributionManagement>
        <repository>
            <id>maven-atlassian-com</id>
            <name>Atlassian Public Repository</name>
            <url>https://packages.atlassian.com/maven/public</url>
        </repository>
    </distributionManagement>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <!-- Property to all enabling shared drafts via AMPS so that we can test create-content against shared drafts -->
        <shared.drafts.enabled>false</shared.drafts.enabled>
        <!-- For the flaky test reporter profile. -->
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>com.atlassian.maven.plugins</groupId>
                <artifactId>confluence-maven-plugin</artifactId>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>release</id>
        </profile>
    </profiles>
</project>
