<?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>atlassian-closedsource-pom</artifactId>
        <version>25</version>
    </parent>

    <groupId>com.atlassian.jira.plugins.webhooks</groupId>
    <artifactId>jira-webhooks-plugin-parent</artifactId>
    <version>1.2.5</version>
    <packaging>pom</packaging>

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

    <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@bitbucket.org/atlassian/jira-webhooks-plugin.git</connection>
        <developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/jira-webhooks-plugin.git</developerConnection>
    </scm>

    <name>Atlassian JIRA WebHooks Plugin Project</name>
    <description>Project for the WebHooks plugin</description>
    <inceptionYear>2012</inceptionYear>

    <modules>
        <module>test-plugin</module>
        <module>plugin</module>
        <module>test</module>
    </modules>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>net.sf.alchim</groupId>
                    <artifactId>yuicompressor-maven-plugin</artifactId>
                    <version>0.7.1</version>
                    <configuration>
                        <encoding>UTF-8</encoding>
                        <!-- Everything on one line -->
                        <linebreakpos>-1</linebreakpos>
                        <!-- Turning off JSlint warnings -->
                        <jswarn>false</jswarn>
                        <excludes>
                            <exclude>**/*-min*</exclude>
                        </excludes>
                    </configuration>

                </plugin>
                <plugin>
                    <groupId>org.twdata.maven</groupId>
                    <artifactId>cargo-maven2-plugin</artifactId>
                    <version>1.0-beta-2-db2</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>2.5.1</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-surefire-plugin</artifactId>
                    <version>2.12.4</version>
                    <configuration>
                        <excludes>
                            <exclude>**/*$*</exclude>
                            <exclude>it/**</exclude>
                        </excludes>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-plugin</artifactId>
                    <version>${amps.version}</version>
                    <extensions>true</extensions>
                </plugin>
                <plugin>
                    <groupId>com.atlassian.maven.plugins</groupId>
                    <artifactId>maven-amps-dispatcher-plugin</artifactId>
                    <version>${amps.version}</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-release-plugin</artifactId>
                    <configuration>
                        <tagNameFormat>jira-webhooks-@{project.version}</tagNameFormat>
                    </configuration>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-enforcer-plugin</artifactId>
                    <version>1.1.1</version>
                </plugin>
                <!--Prevent build fail in Maven2 because of enforcer rule-->
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>2.14.1</version>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>

    <properties>
        <jira.version>6.1-OD-06-1</jira.version>
        <guava.version>10.0.1</guava.version>
        <amps.version>4.1.4</amps.version>
        <testkit.version>6.0.19</testkit.version>
        <atlassian.webhooks.version>0.17.0-m05</atlassian.webhooks.version>
        <atlassian.httpclient.version>0.17.0</atlassian.httpclient.version>
        <release.args />
    </properties>

</project>
