<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>public-pom</artifactId>
    <version>3.0.38</version>
  </parent>

  <groupId>com.atlassian.bamboo.plugins.dotnet</groupId>
  <artifactId>atlassian-bamboo-plugin-dotnet</artifactId>
  <version>5.8.0</version>
  <packaging>atlassian-plugin</packaging>

  <name>Atlassian Bamboo .NET Plugin</name>
  <description>Plugin for Bamboo that provides .NET support</description>

  <properties>
    <bamboo.version>5.8.0</bamboo.version>
    <bamboo.data.version>5.3</bamboo.data.version>
    <amps.version>5.0.4</amps.version>
  </properties>

  <scm>
    <connection>scm:hg:ssh://hg@bitbucket.org/atlassian/bamboo-dotnet-plugin</connection>
    <developerConnection>scm:hg:ssh://hg@bitbucket.org/atlassian/bamboo-dotnet-plugin</developerConnection>
    <url>https://bitbucket.org/atlassian/bamboo-dotnet-plugin/src</url>
    <tag>atlassian-bamboo-plugin-dotnet-5.8.0</tag>
  </scm>

  <issueManagement>
    <system>JIRA</system>
    <url>https://jira.atlassian.com/browse/BAM</url>
  </issueManagement>

  <licenses>
    <license>
      <name>BSD License</name>
      <url>https://bitbucket.org/atlassian/bamboo-dotnet-plugin</url>
    </license>
  </licenses>

  <developers>
    <developer>
      <name>Ross Rowe</name>
    </developer>
    <developer>
      <name>James William Dumay</name>
      <email>james@atlassian.com</email>
    </developer>
  </developers>

  <contributors>
    <contributor>
      <name>Marko Lahma</name>
    </contributor>
    <contributor>
      <name>Krystian Brazulewicz</name>
      <email>kbrazulewicz@atlassian.com</email>
    </contributor>
    <contributor>
      <name>Joseph Clark</name>
      <email>jclark@atlassian.com</email>
    </contributor>
  </contributors>

  <dependencies>

    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>atlassian-bamboo-api</artifactId>
      <version>${bamboo.version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>atlassian-bamboo-core</artifactId>
      <version>${bamboo.version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.3.2</version>
    </dependency>

    <!-- Used for .NET script and command converters -->
    <dependency>
      <groupId>com.atlassian.bamboo.plugins.scripttask</groupId>
      <artifactId>atlassian-bamboo-plugin-scripttask</artifactId>
      <version>${bamboo.version}</version>
      <scope>provided</scope>
    </dependency>

    <!-- Required for accessing Windows registry -->
    <dependency>
      <groupId>net.java.dev.jna</groupId>
      <artifactId>jna-platform</artifactId>
      <version>3.2.7</version>
      <scope>compile</scope>
    </dependency>

    <!-- Test Dependencies -->

    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>atlassian-bamboo-test-utils</artifactId>
      <version>${bamboo.version}</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <groupId>com.atlassian.bamboo</groupId>
          <artifactId>atlassian-bamboo-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>com.google.collections</groupId>
          <artifactId>google-collections</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.11</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>com.github.stefanbirkner</groupId>
      <artifactId>system-rules</artifactId>
      <version>1.5.0</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>2.4</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymockclassextension</artifactId>
      <version>2.4</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.mockito</groupId>
      <artifactId>mockito-core</artifactId>
      <version>1.9.5</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>pl.pragmatists</groupId>
      <artifactId>JUnitParams</artifactId>
      <version>1.0.2</version>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.atlassian.maven.plugins</groupId>
          <artifactId>maven-amps-dispatcher-plugin</artifactId>
          <version>${amps.version}</version>
        </plugin>
        <plugin>
          <groupId>org.codehaus.mojo</groupId>
          <artifactId>build-helper-maven-plugin</artifactId>
          <version>1.8</version>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-bamboo-plugin</artifactId>
        <version>${amps.version}</version>
        <extensions>true</extensions>
        <configuration>
          <productVersion>${bamboo.version}</productVersion>
          <productDataVersion>${bamboo.data.version}</productDataVersion>
          <extractDependencies>true</extractDependencies>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>

