<?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.pom</groupId>
        <artifactId>closedsource-pom</artifactId>
        <version>6.3.6</version>
    </parent>
    <groupId>com.atlassian.plugin.notifications</groupId>
    <artifactId>notifications-parent</artifactId>
    <version>8.0.13</version>
    <packaging>pom</packaging>
    <name>Notifications - Parent POM</name>
    <organization>
        <name>Atlassian</name>
        <url>https://www.atlassian.com/</url>
    </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>notifications-api</module>
        <module>notifications-api-default-impl</module>
        <module>notifications-xmpp</module>
        <module>notifications-func-test-plugin</module>
        <module>notifications-page-objects</module>
        <module>notifications-irc</module>
        <module>notifications-twilio</module>
        <module>notifications-email</module>
        <module>notifications-module</module>
        <module>jira-notifications-module</module>
        <module>jira-notifications-plugin</module>
    </modules>
    <scm>
        <connection>scm:git:ssh://git@bitbucket.org/atlassian/notifications-plugin.git</connection>
        <developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/notifications-plugin.git</developerConnection>
        <url>https://bitbucket.org/atlassian/notifications-plugin/</url>
        <tag>notifications-parent-8.0.13</tag>
    </scm>
    <properties>
        <maven.compiler.release>17</maven.compiler.release>
        <amps8.version>8.17.1</amps8.version>
        <refapp.version>2.18.0</refapp.version>
        <jira.version>7.1.2</jira.version>
        <jira.rest.version>${jira.version}</jira.rest.version>
        <bamboo.version>4.2.1</bamboo.version>
        <confluence.version>9.0.0-CONFSRVDEV-30419-m09</confluence.version>
        <fecru.version>2.8.1-20120829051639</fecru.version>
        <stash.version>2.8.3</stash.version>
        <ao.version>6.0.0-m05</ao.version>
        <jakarta.ws.rs-api.version>2.1.6</jakarta.ws.rs-api.version>
        <slf4j.version>1.6.4</slf4j.version>
        <log4j.version>1.2.15</log4j.version>
        <soy-template-plugin.version>5.3.5</soy-template-plugin.version>
        <plugin.testrunner.version>2.0.5</plugin.testrunner.version>
        <org.osgi.compendium.version>1.4.0</org.osgi.compendium.version>
        <jwebunit-htmlunit-plugin.version>2.2</jwebunit-htmlunit-plugin.version>
        <servlet-api.version>2.4</servlet-api.version>
        <nekohtml.version>1.9.12</nekohtml.version>
        <jsoup.version>1.7.2</jsoup.version>
        <json-simple.version>1.1.1</json-simple.version>
        <gson-atlassian-fork.version>2.2.2-atlassian-1</gson-atlassian-fork.version>
        <junit.version>4.13.2</junit.version>
        <mockito.version>5.7.0</mockito.version>
        <!-- required since we use a milestone release of atlassian-plugins-core, atlassian-mail -->
        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>
        <commons-lang3.version>3.14.0</commons-lang3.version>
        <platform.version>7.0.5</platform.version>
        <atlassian.selenium.and.webdriver.version>3.3.3</atlassian.selenium.and.webdriver.version>
        <rest.v2.version>7.2.4</rest.v2.version>
        <atlassian.osgi.javaconfig.version>0.6.0</atlassian.osgi.javaconfig.version>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-public-api</artifactId>
                <type>pom</type>
                <scope>import</scope>
                <version>${platform.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-system-classpath</artifactId>
                <type>pom</type>
                <scope>import</scope>
                <version>${platform.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-internal-api</artifactId>
                <type>pom</type>
                <scope>import</scope>
                <version>${platform.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-bundled-plugins</artifactId>
                <type>pom</type>
                <scope>import</scope>
                <version>${platform.version}</version>
            </dependency>
            <dependency>
                <groupId>jakarta.ws.rs</groupId>
                <artifactId>jakarta.ws.rs-api</artifactId>
                <version>${jakarta.ws.rs-api.version}</version>
            </dependency>
            <dependency>
                <groupId>org.apache.felix</groupId>
                <artifactId>org.osgi.compendium</artifactId>
                <version>${org.osgi.compendium.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>log4j</groupId>
                <artifactId>log4j</artifactId>
                <version>${log4j.version}</version>
            </dependency>
            <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>${slf4j.version}</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>${junit.version}</version>
            </dependency>
            <dependency>
                <groupId>org.mockito</groupId>
                <artifactId>mockito-core</artifactId>
                <version>${mockito.version}</version>
            </dependency>
            <dependency>
                <groupId>javax.servlet</groupId>
                <artifactId>servlet-api</artifactId>
                <version>${servlet-api.version}</version>
            </dependency>
            <dependency>
                <groupId>net.sourceforge.jwebunit</groupId>
                <artifactId>jwebunit-htmlunit-plugin</artifactId>
                <version>${jwebunit-htmlunit-plugin.version}</version>
            </dependency>
            <dependency>
                <groupId>net.sourceforge.nekohtml</groupId>
                <artifactId>nekohtml</artifactId>
                <version>${nekohtml.version}</version>
            </dependency>
            <dependency>
                <groupId>org.jsoup</groupId>
                <artifactId>jsoup</artifactId>
                <version>${jsoup.version}</version>
            </dependency>
            <dependency>
                <groupId>com.googlecode.json-simple</groupId>
                <artifactId>json-simple</artifactId>
                <version>${json-simple.version}</version>
            </dependency>
            <dependency>
                <groupId>com.google.code.gson</groupId>
                <artifactId>gson</artifactId>
                <version>${gson-atlassian-fork.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins</groupId>
                <artifactId>atlassian-plugins-osgi-testrunner</artifactId>
                <version>${plugin.testrunner.version}</version>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-v2-api</artifactId>
                <version>${rest.v2.version}</version>
                <scope>provided</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugins.rest</groupId>
                <artifactId>atlassian-rest-v2-plugin</artifactId>
                <version>${rest.v2.version}</version>
                <scope>provided</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <dependencies />
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>amps-maven-plugin</artifactId>
                    <version>${amps8.version}</version>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>refapp-maven-plugin</artifactId>
                    <version>${amps8.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <!-- remove specified version, as soon as the base pom has changed the version of the plugin -->
                    <configuration>
                        <arguments>-DskipTests=true</arguments>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>amps-dispatcher-maven-plugin</artifactId>
                    <version>${amps8.version}</version>
                </plugin>
                <plugin>
                    <groupId>net.sf.alchim</groupId>
                    <artifactId>yuicompressor-maven-plugin</artifactId>
                    <version>0.7.1</version>
                    <configuration>
                        <encoding>UTF-8</encoding>
                        <!-- Everything on one line -->
                        <linebreakpos>-1</linebreakpos>
                        <!-- Turning off JSlint warnings -->
                        <jswarn>false</jswarn>
                        <excludes>
                            <exclude>**/*-min*</exclude>
                        </excludes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <configuration>
                        <argLine>
                            --add-opens java.base/java.lang=ALL-UNNAMED
                        </argLine>
                        <trimStackTrace>false</trimStackTrace>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <configuration>
                        <argLine>
                            --add-opens java.base/java.lang=ALL-UNNAMED
                        </argLine>
                        <trimStackTrace>false</trimStackTrace>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
    <profiles>
        <profile>
            <id>openrewrite</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.openrewrite.maven</groupId>
                        <artifactId>rewrite-maven-plugin</artifactId>
                        <version>5.15.4</version> <!-- This version can be newer if you want -->
                        <configuration>
                            <!-- This tag ensures that we first do a dry run on all modules, before doing a real run. -->
                            <failOnDryRunResults>true</failOnDryRunResults>
                        </configuration>
                        <dependencies>
                            <dependency>
                                <groupId>org.openrewrite.recipe</groupId>
                                <artifactId>rewrite-migrate-java</artifactId>
                                <!-- Ensure this uses the latest version, especially when running standard recipes -->
                                <version>2.8.0</version>
                            </dependency>
                            <dependency>
                                <groupId>com.atlassian.platform</groupId>
                                <artifactId>openrewrite-recipes</artifactId>
                                <!-- Replace this with the latest version of the DC Platform, consider using a Maven property -->
                                <version>7.0.0-m33</version>
                            </dependency>
                        </dependencies>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
</project>
