Author: roxspring
Date: Thu Apr  7 03:13:56 2005
New Revision: 160399

URL: http://svn.apache.org/viewcvs?view=rev&rev=160399
Log:
NOTICE file now included in distributions

Modified:
    jakarta/commons/proper/cli/trunk/maven.xml

Modified: jakarta/commons/proper/cli/trunk/maven.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/cli/trunk/maven.xml?view=diff&r1=160398&r2=160399
==============================================================================
--- jakarta/commons/proper/cli/trunk/maven.xml (original)
+++ jakarta/commons/proper/cli/trunk/maven.xml Thu Apr  7 03:13:56 2005
@@ -32,6 +32,23 @@
   <!-- END: C O M M O N S - B U I L D                                     -->
   <!-- ================================================================== -->
 
+  <!-- Ensures that the conf directory and NOTICE.txt are included in the
+       source distro.
+   -->
+  <postGoal name="dist:prepare-src-filesystem">
+    <copy todir="${maven.dist.src.assembly.dir}">
+      <fileset file="${basedir}/NOTICE.txt"/>
+    </copy>
+  </postGoal>
+
+  <!-- Ensures that NOTICE.txt is added to the binary distro -->
+  <preGoal name="dist:build-bin">
+    <copy todir="${maven.dist.bin.assembly.dir}">
+      <fileset file="${basedir}/NOTICE.txt"/>
+    </copy>
+  </preGoal>
+
+
  <postGoal name="xdoc:transform">
    <attainGoal name="pdf:pdf"/>
  </postGoal>



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

Reply via email to