geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r470158 - /geronimo/genesis/trunk/plugins/tools-maven-plugin/src/site/apt/usage.apt
Date Thu, 02 Nov 2006 01:18:13 GMT
Author: jdillon
Date: Wed Nov  1 17:18:12 2006
New Revision: 470158

URL: http://svn.apache.org/viewvc?view=rev&rev=470158
Log:
Update copy-legacl-files usage

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=470158&r1=470157&r2=470158
==============================================================================
--- 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 Nov  1 17:18:12
2006
@@ -107,7 +107,8 @@
 
 * Copy legal files
 
- Copy LICENSE.txt and NOTICE.txt to target/classes/META-INF for inclusion into archives.
+ Copy <<<LICENSE[.txt]>>>, <<<NOTICE[.txt]>>> and <<<DISCLAIMER[.txt].>>>
to <<<target/classes/META-INF>>>
+ for inclusion into archives.
 
 +----------+
 <plugin>
@@ -120,6 +121,32 @@
             <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>



Mime
View raw message