<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.bamboo</groupId>
    <artifactId>atlassian-bamboo-plugins2-parent</artifactId>
    <version>5.7-OD-05-009</version>
  </parent>

  <groupId>com.atlassian.bamboo.plugins</groupId>
  <artifactId>atlassian-bamboo-plugin-clover</artifactId>
  <packaging>atlassian-plugin</packaging>

  <version>5.7-OD-05-009</version>

  <name>Atlassian Bamboo Clover Plugin</name>
  <description>Clover plugin for Bamboo</description>
  <url>http://www.atlassian.com/software/bamboo/</url>

  <properties>
    <!-- when changing this, remember about upgrading Clover plugin version in GrailsTest -->
    <clover.version>4.0.1</clover.version>
  </properties>

  <dependencies>

    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>atlassian-bamboo-web</artifactId>
    </dependency>

    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>atlassian-bamboo-api</artifactId>
    </dependency>

    <dependency>
      <groupId>com.atlassian.bamboo.plugins.builder</groupId>
      <artifactId>atlassian-bamboo-plugin-grails</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.atlassian.bamboo.plugins.ant</groupId>
      <artifactId>atlassian-bamboo-plugin-ant</artifactId>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.atlassian.security</groupId>
      <artifactId>atlassian-secure-xml</artifactId>
    </dependency>

    <dependency>
      <groupId>com.atlassian.clover</groupId>
      <artifactId>clover</artifactId>
      <version>4.0.1</version>
    </dependency>

    <dependency>
      <groupId>com.atlassian.bamboo</groupId>
      <artifactId>atlassian-bamboo-test-utils</artifactId>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.hamcrest</groupId>
      <artifactId>hamcrest-all</artifactId>
      <scope>test</scope>
    </dependency>

  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <excludeDependencies>true</excludeDependencies>
        </configuration>
      </plugin>
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-bamboo-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Export-Package>com.atlassian.bamboo.clover</Export-Package>
            <Import-Package>
              com.atlassian.bamboo.*,
              com.atlassian.bandana,
              com.atlassian.extras.*,
              com.atlassian.security.xml.libs,
              com.google.common.collect,
              com.opensymphony.xwork2,
              org.apache.commons.lang,
              org.apache.commons.io,
              org.apache.log4j,
              org.apache.lucene.document,
              org.apache.tools.ant;version="1.8",
              org.dom4j.*,
              org.jfree.*
            </Import-Package>
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>

</project>
