<?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.pom</groupId>
        <artifactId>closedsource-private-pom</artifactId>
        <version>7.0.0</version>
        <relativePath />
    </parent>
    <groupId>com.atlassian.plugins</groupId>
    <artifactId>static-assets-url-root</artifactId>
    <version>6.0.0</version>
    <organization>
        <name>Atlassian</name>
        <url>http://www.atlassian.com/</url>
    </organization>
    <name>Static Assets</name>
    <description>
        Static assets url project
    </description>
    <packaging>pom</packaging>
    <scm>
        <connection>scm:git:git@bitbucket.org:atlassian/dc-platform-closed-source.git</connection>
        <developerConnection>scm:git:git@bitbucket.org:atlassian/dc-platform-closed-source.git</developerConnection>
        <url>https://bitbucket.org/atlassian/dc-platform-closed-source</url>
        <tag>static-assets-url-root-6.0.0</tag>
    </scm>
    <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>
    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-public-api</artifactId>
                <version>${platform.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.platform.dependencies</groupId>
                <artifactId>platform-internal-api</artifactId>
                <version>${platform.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
    <build>
        <plugins>
            <plugin>
                <groupId>com.diffplug.spotless</groupId>
                <artifactId>spotless-maven-plugin</artifactId>
                <version>3.3.0</version>
                <configuration>
                    <java>
                        <palantirJavaFormat>
                            <version>2.89.0</version>
                        </palantirJavaFormat>
                        <importOrder>
                            <wildcardsLast>true</wildcardsLast>
                            <order>java|javax|jakarta,lombok,org.spring|org|com|io,,com.atlassian,com.atlassian.beacon|\#,\#com.atlassian</order>
                        </importOrder>
                        <removeUnusedImports />
                    </java>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <profiles>
        <profile>
            <id>dev.mode</id>
            <properties>
                <frontend.install.cmd>${frontend.install.cmd.dev}</frontend.install.cmd>
                <yarn.build>yarn run build:dev</yarn.build>
            </properties>
        </profile>
    </profiles>
    <properties>
        <jdk.version>25</jdk.version>
        <maven.compiler.release>${jdk.version}</maven.compiler.release>
        <!-- Product versions -->
        <bitbucket.version>11.0.0-platform9-m024</bitbucket.version>
        <confluence.version>11.0.0-m245</confluence.version>
        <jira.version>12.0.0-QR-20260826132105</jira.version>
        <!-- Atlassian dependencies -->
        <platform.version>9.0.0-m024</platform.version>
        <amps.version>9.12.6</amps.version>
        <atlassian.spring.scanner.version>3.0.0</atlassian.spring.scanner.version>
        <!-- 3rd party dependencies -->
        <mockito.version>5.23.0</mockito.version>
        <rest.assured.version>6.0.0</rest.assured.version>
        <!-- FrontEnd dependencies -->
        <frontend.maven.plugin.version>1.15.1-atlassian-6</frontend.maven.plugin.version>
        <frontend.install.cmd>yarn install --immutable</frontend.install.cmd>
        <frontend.install.cmd.dev>yarn install --immutable</frontend.install.cmd.dev>
        <yarn.build>yarn run build</yarn.build>
        <node.path>${project.build.directory}</node.path>
        <!-- Keep these values in sync with the package.json file -->
        <!-- This key is used to keep the consistency between the key in atlassian-plugin.xml and the key to generate bundle. -->
        <!-- Keep it in sync with 'pluginKey' in webpack.config.js -->
        <atlassian.plugin.key>${project.groupId}.${project.artifactId}</atlassian.plugin.key>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <skipTests>false</skipTests>
        <!-- TODO(DCPL-1760): re-enable after the stable launch of Platform 7.1 -->
        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>
        <junit.version>4.13.2</junit.version>
    </properties>
    <modules>
        <module>static-assets-url-api</module>
        <module>static-assets-url-plugin</module>
    </modules>
</project>
