<?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/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.zanata</groupId>
    <artifactId>client</artifactId>
    <version>3.7.4</version>

  </parent>
  <artifactId>zanata-maven-plugin</artifactId>
  <packaging>maven-plugin</packaging>

  <name>Zanata Maven Plugin</name>

  <!--
  NB: This description will be extracted by maven-plugin-plugin,
  put into the plugin descriptor, and used in the auto-generated 'help'
  goal).
  -->
  <description>
    Zanata client for managing projects, publishing
    source text and retrieving translations.
  </description>

  <!-- Should be the same as zanata-client/pom.xml -->
  <scm>
    <connection>scm:git:git://github.com/zanata/zanata-client.git</connection>
    <developerConnection>scm:git:git@github.com:zanata/zanata-client.git</developerConnection>
    <url>https://github.com/zanata/zanata-client</url>
    <tag>client-3.7.4</tag>
  </scm>

  <prerequisites>
    <maven>2.0.8</maven>
  </prerequisites>
  <inceptionYear>2010</inceptionYear>

  <dependencies>
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
    </dependency>
    <dependency>
      <groupId>org.zanata</groupId>
      <artifactId>zanata-client-commands</artifactId>
      <!-- Ensure we never pick up logback-classic -->
      <exclusions>
        <exclusion>
          <artifactId>logback-classic</artifactId>
          <groupId>ch.qos.logback</groupId>
        </exclusion>
        <exclusion>
          <groupId>net.jcip</groupId>
          <artifactId>jcip-annotations</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
    </dependency>

    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>2.0.6</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-log4j12</artifactId>
      <scope>runtime</scope>
    </dependency>
    <dependency>
      <groupId>com.pyx4j</groupId>
      <artifactId>maven-plugin-log4j</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugin-testing</groupId>
      <artifactId>maven-plugin-testing-harness</artifactId>
      <version>1.2</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
    </dependency>
    <dependency>
      <groupId>com.google.code.findbugs</groupId>
      <artifactId>annotations</artifactId>
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>2.9</version>
        <executions>
          <!-- Tell maven-plugin-plugin to generate the 'help' goal -->
          <execution>
            <id>generated-helpmojo</id>
            <goals>
              <goal>helpmojo</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <useJava5>true</useJava5>
          <!-- Use only java mojo extractor -->
          <extractors>
            <extractor>java</extractor>
          </extractors>
        </configuration>
      </plugin>

      <!-- This is just to tell Maven about our plugin prefix: -->
      <!--  But Maven 3 won't like it without a version...
            <plugin>
              <groupId>${groupId}</groupId>
              <artifactId>${artifactId}</artifactId>
              <version>${version}</version>
            </plugin>
       -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <configuration>
          <usedDependencies>
            <usedDependency>org.codehaus.plexus:plexus-utils</usedDependency>
          </usedDependencies>
        </configuration>
      </plugin>

    </plugins>
  </build>

  <!-- tell maven to generate plugin documentation: -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <version>2.6</version>
      </plugin>
    </plugins>
  </reporting>
</project>
