<?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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>com.atlassian.jira</groupId>
        <artifactId>jira-plugins</artifactId>
        <version>12.0.0-QR-20260910110626</version>
    </parent>


    <name>Atlassian Jira - Plugins - Projects</name>
    <groupId>com.atlassian.jira</groupId>
    <artifactId>jira-projects-parent</artifactId>
    <description>Provides a project centric view of Jira</description>

    <packaging>pom</packaging>
    <licenses>
        <license>
            <name>Atlassian End User License</name>
            <url>https://www.atlassian.com/end-user-agreement/</url>
            <comments>Atlassian 3.0 End User License Agreement</comments>
        </license>
    </licenses>


    <modules>
        <module>jira-projects-api</module>
        <module>jira-projects-plugin</module>
        <module>jira-projects-reference-plugin</module>
    </modules>

    <profiles>
        <profile>
            <activation>
                <property>
                    <name>includePlanTemplates</name>
                </property>
            </activation>
            <id>plan-templates</id>
            <modules>
                <module>bamboo-specs</module>
            </modules>
        </profile>
        <profile>
            <id>freezer-release-profile</id>
            <properties>
                <skipITs>true</skipITs>
                <skipTests>false</skipTests> <!-- The plan template expects at least one test -->
            </properties>
        </profile>
        <profile>
            <id>noDev</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.atlassian.maven.plugins</groupId>
                        <artifactId>jira-maven-plugin</artifactId>
                        <configuration>
                            <systemPropertyVariables>
                                <atlassian.dev.mode>false</atlassian.dev.mode>
                            </systemPropertyVariables>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>jira-license-default-dc</id>
            <activation>
                <property>
                    <name>jira-license-default</name>
                    <value>dc</value>
                </property>
            </activation>
            <build>
                <plugins>
                    <plugin>
                        <groupId>com.atlassian.maven.plugins</groupId>
                        <artifactId>jira-maven-plugin</artifactId>
                        <configuration>
                            <products>
                                <product>
                                    <id>jira</id>
                                    <!-- Data Center commercial license, expiry 72H, Jira Software, unlimited users -->
                                    <license>
                                        AAACBA0ODAoPeNp9kl1v2jAUhu/zK460OyQHSLuVIkUaTbwNVBKUhEnbugsTDuA2sSPbgbFfPxOC1
                                        i+4yEXO5+vnPR+yGiGSW/CuoXc7vBoMvT4ENAOv5/WctUIUG1lVqNx7nqPQSJfccCl8GmU0mSXjl
                                        DpRXS5Qxau5RqV90ncCKQzLTcRK9Eu944Ip/cQ/M1MwrTkTbi5LZ1arfMM0hsyg7/X6A9LvE89z2
                                        j3ZvsJmQBBPpzQJxqP7U4r+qbjaN32zG+/baR2dMl6c35ei2qIah/4dvaHkOvzpkU/x5IZ8vbodO
                                        I9cMbdSclnnxj38EC1XZscUunYy36JvVI3OxGZmbZXdzwIU5lVJWi90rnjVQGoi70B873GNhPOQO
                                        51OFGfkS5yQWRKH8yAbxxGZp9Qm/EChpbGExR7MBqGdAlTkcokK7MMeMTfwa2NM9TDsdtfSfQGnW
                                        xw7CB47frsQShDSwJJro/iiNmgncw1GQl5rI0trtetY4sKgYCJ/Y4qVFSR0lNGQ3P04aDxrTKvWO
                                        jMXT0LuxCU33txaSiPffuRjr3fsO/mC6og/VmsmuGYN0Ij93TFYcVXunQaaDb4+wJbFd7vg0OI5I
                                        f53NENtoK2AlVQwGScjSFt5lrjdWymu8WEIgSwtppyzAsLgxRk8P5hG9PMA3bKiPspdsULjJRwX7
                                        ukf5/NX7TAtAhUAhQSHz9DgycOX7wcwERMJb3TLGb4CFGkB/xUWSRK3BZLrPF9Rn6ZmrUqJX02oc
                                    </license>
                                </product>
                            </products>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <properties>

        <pocketknife-querydsl.version>9.0.0-jakarta-m004</pocketknife-querydsl.version>

        <soycompiler.version>20112212-r27-atlassian3</soycompiler.version>

        <atlassian-plugin.description>${project.description}</atlassian-plugin.description>
        <atlassian-plugin.version>${project.version}</atlassian-plugin.version>

        <bamboo.instance.url>https://server-gdn-bamboo.internal.atlassian.com</bamboo.instance.url>
        <enable.fastdev>false</enable.fastdev>
        <enable.quickreload>false</enable.quickreload>
        <enable.devToolbox>false</enable.devToolbox>

        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <skipAllPrompts>true</skipAllPrompts>
        <xvfb.enable>true</xvfb.enable>
        <compressJs>true</compressJs>
        <rest.doc.generation.skip>true</rest.doc.generation.skip>

        <frontend.install.cmd>${frontend.install.cmd.forDevelopment}</frontend.install.cmd>
        <frontend.install.cmd.forDevelopment>install --immutable</frontend.install.cmd.forDevelopment>
        <frontend.dist.mode>false</frontend.dist.mode>

        <atlassian.test.run.only.quarantined>false</atlassian.test.run.only.quarantined>
        <atlassian.test.suite.excludes/>
        <atlassian.test.suite.includes/>
        <jira.functest.single.testclass/>
        <atlassian.test.suite.package>it.com.atlassian.jira.plugins.editor</atlassian.test.suite.package>
        <atlassian.test.target.dir>${project.build.directory}</atlassian.test.target.dir>
        <frontend.minify.skip>false</frontend.minify.skip>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.pocketknife</groupId>
                <artifactId>atlassian-pocketknife-querydsl</artifactId>
                <version>${pocketknife-querydsl.version}</version>
            </dependency>

<!--            Test dependencies -->
            <dependency>
                <groupId>com.atlassian.pocketknife</groupId>
                <artifactId>atlassian-pocketknife-querydsl-test-util</artifactId>
                <version>${pocketknife-querydsl.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.jacoco</groupId>
                <artifactId>jacoco-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>prepare-agent-unit-test</id>
                        <goals>
                            <goal>prepare-agent</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>report-unit-test</id>
                        <phase>test</phase>
                        <goals>
                            <goal>report</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>prepare-agent-integration-test</id>
                        <goals>
                            <goal>prepare-agent-integration</goal>
                        </goals>
                        <configuration>
                            <propertyName>jacoco.it.agent</propertyName>
                        </configuration>
                    </execution>
                    <execution>
                        <id>report-integration-test</id>
                        <phase>post-integration-test</phase>
                        <goals>
                            <goal>report-integration</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
