<?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.0.2</version>
    </parent>

    <groupId>com.atlassian.jira.plugins</groupId>
    <artifactId>jira-workflow-designer-parent</artifactId>
    <packaging>pom</packaging>
    <version>9.1.3-85e2b77</version>
    <name>Jira Workflow Designer Parent POM</name>

    <description>The visual way to edit Jira Workflows.</description>

    <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>

    <organization>
        <name>Atlassian</name>
        <url>http://www.atlassian.com/</url>
    </organization>

    <modules>
        <module>api</module>
        <module>jira-plugin</module>
        <module>test-workflow-designer-api-plugin</module>
    </modules>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>jira-api</artifactId>
                <version>${jira.version}</version>
                <scope>provided</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <properties>
        <!-- Keep in sync with com.atlassian.jira.plugins.workflowdesigner.Metadata.PLUGIN_KEY -->
        <atlassian.plugin.key>com.atlassian.jira.plugins.jira-workflow-designer</atlassian.plugin.key>
        <atlassian.jstest.runner.plugin.version>0.10.2</atlassian.jstest.runner.plugin.version>
        <atlassian.spring.scanner.version>2.2.4</atlassian.spring.scanner.version>
        <testkit.version>8.1.32</testkit.version>
        <jira.version>9.0.0-QR-20220112090132</jira.version>
        <jira.func.test.legacy.version>${jira.version}</jira.func.test.legacy.version>
        <junit.version>4.12</junit.version>
        <xvfb.enable>true</xvfb.enable>
        <skipTests>false</skipTests>
        <amps.version>8.1.1</amps.version>
        <rest.common.version>2.9.9</rest.common.version>
        <quick.reload.version>2.0.0</quick.reload.version>
    </properties>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>2.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>1.1</version>
                    <executions>
                        <execution>
                            <id>enforce-build-environment</id>
                            <phase>none</phase>
                        </execution>
                    </executions>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.12.4</version>
                    <configuration>
                        <skipTests>${skipTests}</skipTests>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.plugin</groupId>
                    <artifactId>atlassian-spring-scanner-maven-plugin</artifactId>
                    <version>${atlassian.spring.scanner.version}</version>
                    <executions>
                        <execution>
                            <goals>
                                <goal>atlassian-spring-scanner</goal>
                            </goals>
                            <phase>process-classes</phase>
                        </execution>
                    </executions>
                    <configuration>
                        <verbose>false</verbose>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins />
    </build>

    <profiles>
        <profile>
            <!-- Sets templates for the IntelliJ IDEA project -->
            <id>ide-setup</id>
            <modules>
                <module>jira-workflow-designer-ide-support</module>
            </modules>
        </profile>
        <profile>
            <id>skipTests</id>
            <properties>
                <skipTests>true</skipTests>
            </properties>
        </profile>
    </profiles>

    <repositories>
        <repository>
            <id>sonatype-flex</id>
            <url>https://repository.sonatype.org/content/groups/flexgroup</url>
            <snapshots>
                <enabled>false</enabled>
            </snapshots>
            <releases>
                <enabled>true</enabled>
            </releases>
        </repository>
    </repositories>

    <scm>
        <connection>scm:git:ssh://git@stash.atlassian.com:7997/jiraserver/workflow-designer.git</connection>
        <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/jiraserver/workflow-designer.git</developerConnection>
        <url>https://stash.atlassian.com/projects/JIRASERVER/repos/workflow-designer</url>
        <tag>jira-workflow-designer-parent-9.1.3-85e2b77</tag>
    </scm>
</project>
