<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<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>org.apache.commons</groupId>
      <artifactId>commons-parent</artifactId>
      <version>32</version>
  </parent>
 
  <groupId>org.apache.commons.plugins</groupId>
  <artifactId>commonsdev-tag-plugin</artifactId>
  <version>1.1-SNAPSHOT</version>
  <name>Apache Commons Developer Tag Maven Mojo</name>
  <packaging>maven-plugin</packaging>
  <inceptionYear>2013</inceptionYear>

  <description>
  This Apache Commons Developer Tag plugin for Maven creates and manipulates tags for releases.
  </description>

  <distributionManagement>
    <repository>
      <!-- Must use the same name, i.e. apache.releases.https  -->
      <id>apache.releases.https</id>
      <name>Apache Release Distribution Repository</name>
      <!-- We override the default release repo to ensure there are no accidental deployments  -->
      <!-- 
          The following property should be defined in settings.xml and should point to the workspace for
          https://dist.apache.org/repos/dist/dev/commons/dev_plugins
       -->
      <url>${commons.dev.plugins.repo}</url>
      <!-- c.f. distMgmtSnapshotsUrl -->
    </repository>
  </distributionManagement>

  <scm>
              <connection>scm:svn:http://svn.apache.org/repos/asf/commons/dev/plugins/commonsdev-tag-plugin/trunk/</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/dev/plugins/commonsdev-tag-plugin/trunk/</developerConnection>
                                <url>http://svn.apache.org/viewvc/commons/dev/plugins/commonsdev-tag-plugin/trunk/</url>
  </scm>

  <prerequisites>
    <maven>${mavenVersion}</maven>
  </prerequisites>

   <properties>
    <mavenVersion>2.2.1</mavenVersion>
    <mavenPluginPluginVersion>3.2</mavenPluginPluginVersion>
    <maven.compiler.source>1.5</maven.compiler.source>
    <maven.compiler.target>1.5</maven.compiler.target>
    <!-- Avoid problems with jar & osgi builds in CP -->
    <commons.manifestfile />
    <commons.release.version>${project.version}</commons.release.version>
    <commons.rc.version>RC1</commons.rc.version>
  </properties>

  <dependencies>

    <!-- Needed by AbstractExecMojo for command execution etc. -->
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <version>3.0.7</version>
    </dependency>

    <!-- Following dependencies are for building/running Mojos -->

    <!-- for our own help Mojo -->
    <dependency>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-help-plugin</artifactId>
      <version>2.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <version>${mavenVersion}</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <version>${mavenVersion}</version>
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-container-default</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.plugin-tools</groupId>
      <artifactId>maven-plugin-annotations</artifactId>
      <version>${mavenPluginPluginVersion}</version>
      <!-- annotations are not needed for plugin execution so you can remove this dependency
           for execution by using provided scope -->
      <scope>provided</scope>
    </dependency>
  </dependencies>

  <build>

    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-plugin-plugin</artifactId>
          <version>${mavenPluginPluginVersion}</version>
          <configuration>
            <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-plugin-plugin</artifactId>
        <configuration>
          <!-- see http://jira.codehaus.org/browse/MNG-5346 -->
          <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
        </configuration>
        <executions>
          <execution>
            <id>generate-descriptor</id>
            <goals>
              <goal>descriptor</goal>
            </goals>
          </execution>
          <!-- The generated Mojo does not handle annotations properly,
               and does not show any "User property" names.
               Since this is misleading, it is better to drop the goal
               The Maven Help plugin does show property names, so we create
               our own Help Mojo that extends it.
          <execution>
            <id>generated-helpmojo</id>
            <goals>
              <goal>helpmojo</goal>
            </goals>
          </execution>
           -->
        </executions>
      </plugin>
    </plugins>
  </build>
  
</project>
