geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r486884 - /geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt
Date Wed, 13 Dec 2006 22:55:42 GMT
Author: jdillon
Date: Wed Dec 13 14:55:41 2006
New Revision: 486884

URL: http://svn.apache.org/viewvc?view=rev&rev=486884
Log:
Updated site docs for new verify legal muck, and deprecate the gpg goal

Modified:
    geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt

Modified: geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt?view=diff&rev=486884&r1=486883&r2=486884
==============================================================================
--- geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt (original)
+++ geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt Wed Dec 13 14:55:41
2006
@@ -152,7 +152,78 @@
 </plugin>
 +----------+
 
+* Verify that artifacts include legal files
+
+ Help to make sure that your generated project artifacts (and attached artifacts), which
are zip-encoded
+ include required legal files.
+
+ By default checks for <<<LICENSE.txt>>> and <<<NOTICE.txt>>>
in <<<META-INF/>>> and <<<artifactId-version/>>>:
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <id>verify-legal-files</id>
+            <phase>verify</phase>
+            <goals>
+                <goal>verify-legal-files</goal>
+            </goals>
+        </execution>
+    </executions>
+</plugin>
++----------+
+
+ Fail builds using strict mode:
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <id>verify-legal-files</id>
+            <phase>verify</phase>
+            <goals>
+                <goal>verify-legal-files</goal>
+            </goals>
+        </execution>
+        <configuration>
+            <strict>true</strict>
+        </configuration>
+    </executions>
+</plugin>
++----------+
+
+ Specify the list of required legal files:
+
++----------+
+<plugin>
+    <groupId>org.apache.geronimo.genesis.plugins</groupId>
+    <artifactId>tools-maven-plugin</artifactId>
+    <executions>
+        <execution>
+            <id>verify-legal-files</id>
+            <phase>verify</phase>
+            <goals>
+                <goal>verify-legal-files</goal>
+            </goals>
+        </execution>
+        <configuration>
+            <requiredFiles>
+                <requiredFile>LICENSE.txt</requiredFile>
+                <requiredFile>NOTICE.txt</requiredFile>
+                <requiredFile>DISCLAIMER.txt</requiredFile>
+            </requiredFiles>
+        </configuration>
+    </executions>
+</plugin>
++----------+
+
 * Sign artifacts with GnuPG
+
+ <<NOTE:>> Deprecated; use the {{{http://maven.apache.org/plugins/maven-gpg-plugin/}maven-gpg-plugin}}
instead.
 
  Signs all of a project's attached artifacts with GnuPG.
 



Mime
View raw message