<?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-content-plugins</artifactId>
        <version>20.2.0</version>
    </parent>

    <artifactId>confluence-editor-plugin-parent</artifactId>
    <packaging>pom</packaging>

    <name>Confluence Editor Plugin Parent</name>

    <modules>
        <module>p2-plugin</module>
    </modules>

    <properties>
        <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
        <!-- frontend build related stuff -->
        <editor.directory>${project.basedir}/frontend/confluence-editor</editor.directory>
    </properties>

    <profiles>
        <profile>
            <id>frontend-watch-mode</id>
            <activation>
                <property>
                    <name>frontend.watch.mode</name>
                </property>
            </activation>
            <properties>
                <npm.build.skip>true</npm.build.skip>
                <npm.install.skip>true</npm.install.skip>
                <npm.test.skip>true</npm.test.skip>
            </properties>
        </profile>
    </profiles>
</project>
