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

    <groupId>com.atlassian.bitbucket.server</groupId>
    <artifactId>bitbucket-checkstyle</artifactId>
    <version>2.0.1</version>
    <packaging>jar</packaging>

    <name>Bitbucket Server - Custom Checkstyle</name>
    <description>Custom Checkstyle rules for Bitbucket Server</description>

    <scm>
        <connection>scm:git:ssh://git@stash.dev.internal.atlassian.com:7999/STASH/bitbucket-checkstyle.git</connection>
	<developerConnection>
            scm:git:ssh://git@stash.dev.internal.atlassian.com:7999/STASH/bitbucket-checkstyle.git
        </developerConnection>
	<url>https://stash.dev.internal.atlassian.com/projects/STASH/repos/bitbucket-checkstyle/browse</url>
        <tag>bitbucket-checkstyle-2.0.1</tag>
    </scm>

    <properties>
        <jdkLevel>1.8</jdkLevel>

        <maven.build.timestamp.format>yyyyMMddHHmmssSSS</maven.build.timestamp.format>
        <maven.compiler.source>${jdkLevel}</maven.compiler.source>
        <maven.compiler.target>${jdkLevel}</maven.compiler.target>

        <source.encoding>UTF-8</source.encoding>
    </properties>

    <build>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

    <dependencies>
        <dependency>
            <groupId>com.puppycrawl.tools</groupId>
            <artifactId>checkstyle</artifactId>
            <version>8.11</version>
        </dependency>
        <dependency>
            <groupId>com.google.guava</groupId>
            <artifactId>guava</artifactId>
            <version>25.1-jre</version>
        </dependency>

        <!-- Test dependencies -->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>

    </dependencies>
</project>
