| <?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-gpgsignfiles-plugin</artifactId> |
| <version>0.1-SNAPSHOT</version> |
| <packaging>maven-plugin</packaging> |
| |
| |
| <name>maven-gpgsignfiles-plugin Apache Maven Mojo</name> |
| <description> |
| The Apache Maven GPG signfiles plugin allows arbitrary files to be signed. |
| This is intended as a temporary measure until MGPG-43 is implemented. |
| </description> |
| <url>http://maven.apache.org/TODO-FIX_ME</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-gpgsignfiles-plugin/</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-gpgsignfiles-plugin/</developerConnection> |
| <url>http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-gpgsignfiles-plugin/</url> |
| </scm> |
| |
| <issueManagement> |
| <system>jira</system> |
| <!-- TODO fix --> |
| <url>http://jira.codehaus.org/browse/M-TODO-FIX</url> |
| </issueManagement> |
| |
| <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 the Gpg plugin to do the signing --> |
| <dependency> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>1.5-SNAPSHOT</version> |
| </dependency> |
| |
| <!-- SignFilesMojo 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> |
| <copy todir="target/generated-sources/plugin"> |
| <fileset dir="src/main/templates" includes="**/HelperMojo.java"/> |
| <filterset> |
| <filter token="GAV" value="${project.groupId}:${project.artifactId}:${project.version}"/> |
| </filterset> |
| </copy> |
| <echo>Copied/replaced</echo> |
| </target> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting/> |
| |
| <profiles/> |
| </project> |