Jason,

I don't think this page is the good one for the gpg plugin.

Emmanuel

Added: maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt?view=auto&rev=482476
==============================================================================
--- maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt (added)
+++ maven/plugins/trunk/maven-gpg-plugin/src/site/apt/usage.apt Mon Dec  4 
19:50:02 2006
@@ -0,0 +1,179 @@
+ ------
+ Basic Usage :: Genesis Tools Plugin for Maven 2
+ ------
+ ------
+ $Rev: 470158 $ $Date$
+
+~~ +~~ 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.
+~~ +
+Java Version Control
+
+ Allow builds to fail quickly if the Java version is not correct.
+
+* Require a specific Java version
+
+ This will only allow the build to function if the Java version is 1.4.1, any 
other version will cause a build failure.
+ + NOTE: That for 1.4.1 you specify 1.41. The version should have only one decimal.
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <phase>validate</phase>
+            <goals>
+                <goal>require-java-version</goal>
+            </goals>
+            <configuration>
+                <version>1.41</version>
+            </configuration>
+        </execution>
+    </executions>
+</plugin>
++----------+
+
+* Require Java version greater than or equal
+
+ Specify the '+' token as a suffix to the version number.
+ + This will only allow the build to function if the Java version is 1.4 or grater.
+
+ For example 1.4.1 or 1.5, but not 1.3.
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <phase>validate</phase>
+            <goals>
+                <goal>require-java-version</goal>
+            </goals>
+            <configuration>
+                <version>1.4+</version>
+            </configuration>
+        </execution>
+    </executions>
+</plugin>
++----------+
+
+* Require Java version in the same group
+
+ Specify the '*' token as a suffix to the version number.
+ + This will only allow the build to function if the Java version is 1.4 or grater in the same group.
+
+ For example 1.4.1 or 1.4.2, but not 1.5.
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <phase>validate</phase>
+            <goals>
+                <goal>require-java-version</goal>
+            </goals>
+            <configuration>
+                <version>1.4*</version>
+            </configuration>
+        </execution>
+    </executions>
+</plugin>
++----------+
+
+Other Tools
+
+* Copy legal files
+
+ Copy <<<LICENSE[.txt]>>>, <<<NOTICE[.txt]>>> and <<<DISCLAIMER[.txt].>>> to 
<<<target/classes/META-INF>>>
+ for inclusion into archives.
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <id>install-legal-files</id>
+            <phase>generate-resources</phase>
+            <goals>
+                <goal>copy-legal-files</goal>
+            </goals>
+        </execution>
+    </executions>
+</plugin>
++----------+
+
+ The list of files to include can be configured explicitly if desired.
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <id>install-legal-files</id>
+            <phase>generate-resources</phase>
+            <goals>
+                <goal>copy-legal-files</goal>
+            </goals>
+            <configuration>
+                <fileset>
+                    <basedir>${pom.basedir}</basedir>
+                    <includes>
+                        <include>*.txt</include>
+                    </includes>
+                </fileset>
+            <configuration>
+        </execution>
+    </executions>
+</plugin>
++----------+
+
+* Sign artifacts with GnuPG
+
+ Signs all of a project's attached artifacts with GnuPG.
+
+ You need to specify the passphrase with a <<<-Dpassphrase=thephrase>>> on the 
command line.
+ <<<gpg>>> also needs to be on the search path.
+ + You need to have previously configured the default key.
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <id>sign-artifacts</id>
+            <phase>verify</phase>
+            <goals>
+                <goal>gpg-sign-attached</goal>
+            </goals>
+        </execution>
+    </executions>
+</plugin>
++----------+
+




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to