<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.34</version>
  </parent>
  
  <groupId>com.atlassian.maven.plugins</groupId>
  <artifactId>maven-source-routes-plugin</artifactId>
  <packaging>maven-plugin</packaging>
  <version>1.7</version>
  <name>Atlassian Maven Source Routes Plugin</name>
  <description>Deploys the artifacts attached by maven-source-plugin:2.1:jar with the :sources classifier to the distributionManagement repository.
               This allows you to set attachSources=false in the maven-source-plugin so that sources are not deployed on the public repo.</description>

  <properties>
      <jdkLevel>1.6</jdkLevel>
  </properties>

  <scm>
    <connection>scm:git:ssh://git@stash.atlassian.com:7997/buildeng/maven-source-routes-plugin.git</connection>
    <developerConnection>scm:git:ssh://git@stash.atlassian.com:7997/buildeng/maven-source-routes-plugin.git</developerConnection>
    <url>https://stash.atlassian.com/projects/BUILDENG/repos/maven-source-routes-plugin/browse</url>
    <tag>HEAD</tag>
  </scm>

  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-compat</artifactId>
      <version>3.0.5</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>3.0.5</version>
    </dependency>
    <dependency>
      <groupId>org.twdata.maven</groupId>
      <artifactId>mojo-executor</artifactId>
      <version>2.2.0</version>
    </dependency>
    <dependency>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.2.1</version>
        <type>maven-plugin</type>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>3.3</version>
    </dependency>
  </dependencies>
  <build>
      <plugins>
          <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-plugin-plugin</artifactId>
              <version>3.3</version>
              <configuration>
                  <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
              </configuration>
              <executions>
                  <execution>
                      <id>mojo-descriptor</id>
                      <phase>process-classes</phase>
                      <goals>
                          <goal>descriptor</goal>
                      </goals>
                  </execution>
                  <execution>
                      <id>help-goal</id>
                      <goals>
                          <goal>helpmojo</goal>
                      </goals>
                  </execution>
              </executions>
          </plugin>
      </plugins>
  </build>
</project>
