blob: a08b0a910425a426fa834520ad10a9bd3b43a1bf [file] [log] [blame]
<?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.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
<version>24</version>
</parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-digest-plugin</artifactId>
<version>0.1-SNAPSHOT</version>
<packaging>maven-plugin</packaging>
<name>maven-digest-plugin Apache Maven Mojo</name>
<description>
The Apache Maven Digest Mojo provides digest (hashing) facilities for files
</description>
<!-- TODO fix URL -->
<url>http://maven.apache.org/</url>
<inceptionYear>2013</inceptionYear>
<organization>
<name>The Apache Software Foundation</name>
<url>http://www.apache.org/</url>
</organization>
<!-- TODO
<licenses>
<license>
</license>
</licenses>
-->
<developers/>
<contributors/>
<mailingLists/>
<prerequisites>
<maven>${mavenVersion}</maven>
</prerequisites>
<modules/>
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-digest-plugin/</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-digest-plugin/</developerConnection>
<url>http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-digest-plugin/</url>
</scm>
<issueManagement>
<system>jira</system>
<!-- TODO fix -->
<url>http://jira.codehaus.org/browse/M-TODO-FIX</url>
</issueManagement>
<ciManagement/>
<distributionManagement/>
<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>
</properties>
<dependencyManagement/>
<dependencies>
<!-- We use Commons Codec to create the hashes -->
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<!-- 1.6 only requires Java 1.5; later versions require Java 1.6 -->
<version>1.6</version>
</dependency>
<!-- DigestMojo uses DirectoryScanner -->
<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 with using provided scope -->
<scope>provided</scope>
</dependency>
</dependencies>
<repositories/>
<pluginRepositories/>
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/src.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</plugin>
<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.
Unfortunately, it seems we cannot override the parent here
So we just delete the generated file below
<execution>
<id>generated-helpmojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
-->
</executions>
</plugin>
<!-- remove the faulty generated Help Mojo -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
<configuration>
<target>
<delete>
<fileset dir="target/generated-sources" includes="**/HelpMojo.java"/>
</delete>
</target>
</configuration>
</plugin>
</plugins>
</build>
<reporting/>
<profiles/>
</project>