Why?
If you want to add more files to be included then we should expose
the list as configuration... which is what the FIXME comment says
right above the new file includes you've added.
What exactly is DISCLAIMER* used for?
--jason
On Oct 22, 2006, at 12:29 PM, [EMAIL PROTECTED] wrote:
Author: jlaskowski
Date: Sun Oct 22 12:29:31 2006
New Revision: 466869
URL: http://svn.apache.org/viewvc?view=rev&rev=466869
Log:
Add DISCLAIMER[.txt] to the set of legal files
Add files with no txt extension to the mix
Modified:
geronimo/genesis/trunk/plugins/tools-maven-plugin/src/main/java/
org/apache/geronimo/genesis/plugins/tools/CopyLegalFilesMojo.java
Modified: geronimo/genesis/trunk/plugins/tools-maven-plugin/src/
main/java/org/apache/geronimo/genesis/plugins/tools/
CopyLegalFilesMojo.java
URL: http://svn.apache.org/viewvc/geronimo/genesis/trunk/plugins/
tools-maven-plugin/src/main/java/org/apache/geronimo/genesis/
plugins/tools/CopyLegalFilesMojo.java?
view=diff&rev=466869&r1=466868&r2=466869
======================================================================
========
--- geronimo/genesis/trunk/plugins/tools-maven-plugin/src/main/java/
org/apache/geronimo/genesis/plugins/tools/CopyLegalFilesMojo.java
(original)
+++ geronimo/genesis/trunk/plugins/tools-maven-plugin/src/main/java/
org/apache/geronimo/genesis/plugins/tools/CopyLegalFilesMojo.java
Sun Oct 22 12:29:31 2006
@@ -27,7 +27,7 @@
import java.io.File;
/**
- * Copy legal files (like LICENSE.txt and NOTICE.txt) for
inclusion into generated jars.
+ * Copy legal files (LICENSE[.txt], NOTICE[.txt] and DISCLAIMER
[.txt]) for inclusion into generated jars.
*
* @goal copy-legal-files
* @phase validate
@@ -92,6 +92,10 @@
files.createInclude().setName("LICENSE.txt");
files.createInclude().setName("NOTICE.txt");
+ files.createInclude().setName("DISCLAIMER.txt");
+ files.createInclude().setName("LICENSE");
+ files.createInclude().setName("NOTICE");
+ files.createInclude().setName("DISCLAIMER");
copy.addFileset(files);
copy.execute();