<?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>closedsource-pom</artifactId>
    <version>6.2.2</version>
    <relativePath />
  </parent>

  <groupId>com.atlassian.bamboo</groupId>
  <artifactId>bamboo-specs-parent</artifactId>

  <packaging>pom</packaging>
  <version>8.3.0-m03-bbc-webhooks-4</version>

  <organization>
    <name>Atlassian Software Systems Pty Ltd</name>
    <url>http://www.atlassian.com/</url>
  </organization>

  <developers>
  </developers>

  <contributors>
  </contributors>

  <scm>
    <connection>scm:git:ssh://git@bitbucket.org/atlassian/bamboo-specs.git</connection>
    <developerConnection>scm:git:ssh://git@bitbucket.org/atlassian/bamboo-specs.git</developerConnection>
    <url>https://bitbucket.org/atlassian/bamboo-specs</url>
    <tag>bamboo-specs-internal-8.3.0-m03-bbc-webhooks-4</tag>
  </scm>

  <properties>
    <bamboo.specs.version>8.3.0-m03-bbc-webhooks-4</bamboo.specs.version>
    <failOnMilestoneOrReleaseCandidateDeps>false</failOnMilestoneOrReleaseCandidateDeps>
  </properties>

  <name>Atlassian Bamboo Plan Specs Parent</name>
  <url>http://www.atlassian.com/bamboo</url>
  <licenses>
    <license>
      <name>Apache License 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>com.atlassian.bamboo</groupId>
        <artifactId>bamboo-specs-api</artifactId>
        <version>${bamboo.specs.version}</version>
      </dependency>
      <dependency>
        <groupId>com.atlassian.bamboo</groupId>
        <artifactId>bamboo-specs</artifactId>
        <version>${bamboo.specs.version}</version>
      </dependency>

      <!-- Test dependencies -->
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.13.2</version>
      </dependency>
    </dependencies>
  </dependencyManagement>

  <build>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>3.2.1</version>
          <executions>
            <execution>
              <id>attach-sources</id>
              <phase />
            </execution>
            <execution>
              <id>custom-attach-sources</id>
              <goals>
                <goal>jar-no-fork</goal>
              </goals>
            </execution>
          </executions>
          <inherited>true</inherited>
        </plugin>
        <plugin>
          <groupId>com.atlassian.bamboo</groupId>
          <artifactId>bamboo-specs-runner</artifactId>
          <version>${bamboo.specs.version}</version>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-enforcer-plugin</artifactId>
          <configuration>
            <skip>true</skip>
          </configuration>
        </plugin>

        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.20</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-report-plugin</artifactId>
          <version>2.22.2</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>

  <profiles>
    <profile>
      <id>publish-specs</id>
      <build>
        <defaultGoal>bamboo-specs-runner:run</defaultGoal>
        <plugins>
          <plugin>
            <groupId>com.atlassian.bamboo</groupId>
            <artifactId>bamboo-specs-runner</artifactId>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

</project>
