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

    <parent>
        <groupId>com.atlassian.pom</groupId>
        <artifactId>closedsource-pom</artifactId>
        <version>5.0.21</version>
    </parent>

    <modelVersion>4.0.0</modelVersion>

    <groupId>com.atlassian.pocketknife</groupId>
    <artifactId>atlassian-pocketknife-api-commons-parent-pom</artifactId>
    <version>1.0.7</version>

    <name>Atlassian Pocketknife API Commons Parent Pom</name>

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

    <scm>
        <connection>scm:git:ssh://git@stash.atlassian.com:7997/sdserver/pocketknife-api-commons.git</connection>
        <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/sdserver/pocketknife-api-commons.git</developerConnection>
        <url>ssh://git@stash.atlassian.com:7997/sdserver/pocketknife-api-commons.git</url>
        <tag>HEAD</tag>
    </scm>

    <packaging>pom</packaging>

    <modules>
        <module>api-commons</module>
        <module>api-commons-jira</module>
        <module>api-commons-plugin</module>
    </modules>

    <properties>
        <platform.version>5.0.0-m1</platform.version>
        <atlassian.spring.scanner.version>2.1.7</atlassian.spring.scanner.version>

        <!-- Build and dev mode properties -->
        <amps.version>8.0.0-m6</amps.version>
        <jira.version>8.0.0-QR-20190118152954</jira.version>

        <!-- this is specified in base-pom and is used to specify the Java Version for this plugin -->
        <jdkLevel>1.8</jdkLevel>
        <!-- maven-compiler-plugin config -->
        <maven.compiler.source>${jdkLevel}</maven.compiler.source>
        <maven.compiler.target>${jdkLevel}</maven.compiler.target>

        <!-- Required for releasing with jira milestone version -->
        <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>com.atlassian.platform</groupId>
                <artifactId>platform</artifactId>
                <version>${platform.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.platform</groupId>
                <artifactId>third-party</artifactId>
                <version>${platform.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.plugin</groupId>
                <artifactId>atlassian-spring-scanner-annotation</artifactId>
                <version>${atlassian.spring.scanner.version}</version>
                <scope>compile</scope>
            </dependency>
            <dependency>
                <groupId>com.atlassian.jira</groupId>
                <artifactId>jira-api</artifactId>
                <version>${jira.version}</version>
                <scope>provided</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

</project>
