You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tv...@apache.org on 2008/01/05 19:15:02 UTC

svn commit: r609180 - in /db/torque: generator/trunk/maven.xml village/trunk/maven.xml

Author: tv
Date: Sat Jan  5 10:15:01 2008
New Revision: 609180

URL: http://svn.apache.org/viewvc?rev=609180&view=rev
Log:
Copy license and other files to the correct places

Modified:
    db/torque/generator/trunk/maven.xml
    db/torque/village/trunk/maven.xml

Modified: db/torque/generator/trunk/maven.xml
URL: http://svn.apache.org/viewvc/db/torque/generator/trunk/maven.xml?rev=609180&r1=609179&r2=609180&view=diff
==============================================================================
--- db/torque/generator/trunk/maven.xml (original)
+++ db/torque/generator/trunk/maven.xml Sat Jan  5 10:15:01 2008
@@ -96,11 +96,9 @@
       <fileset dir="${basedir}/common">
         <include name="project.xml"/>
         <include name="project.properties"/>
+        <include name="NOTICE"/>
+        <include name="LICENSE.txt"/>
       </fileset>
-    </copy>
-    <copy todir="${maven.dist.src.assembly.dir}">
-      <fileset file='${basedir}/common/NOTICE'/>
-      <fileset file='${basedir}/common/LICENSE.txt'/>
     </copy>
   </preGoal>
 

Modified: db/torque/village/trunk/maven.xml
URL: http://svn.apache.org/viewvc/db/torque/village/trunk/maven.xml?rev=609180&r1=609179&r2=609180&view=diff
==============================================================================
--- db/torque/village/trunk/maven.xml (original)
+++ db/torque/village/trunk/maven.xml Sat Jan  5 10:15:01 2008
@@ -27,4 +27,37 @@
 <!-- ======================================================================== -->
 
 <project
-  default="jar:jar" />
+  default="jar:jar">
+
+  <!-- ================================================================== -->
+  <!-- D I S T : B U I L D _ B I N   P R E   G O A L                      -->
+  <!-- ================================================================== -->
+  <!-- copies license info ... to the                       -->
+  <!-- ${maven.dist.bin.assembly.dir} to include them in the binary dists -->
+  <!-- ================================================================== -->
+  <preGoal name="dist:build-bin">
+    <copy todir="${maven.dist.bin.assembly.dir}" failonerror="false">
+      <fileset file='${basedir}/common/NOTICE'/>
+      <fileset file='${basedir}/common/LICENSE.txt'/>
+    </copy>
+  </preGoal>
+
+  <!-- ================================================================== -->
+  <!-- D I S T : B U I L D _ S R C   P R E   G O A L                      -->
+  <!-- ================================================================== -->
+  <!-- includes common files                                              -->
+  <!-- This is necessary as long as maven does not resolves the extends   -->
+  <!-- property of the pom upon generation of the source distribution     -->
+  <!-- ================================================================== -->
+  <preGoal name="dist:build-src">
+      <copy todir="${maven.dist.src.assembly.dir}/common">
+      <fileset dir="${basedir}/common">
+        <include name="project.xml"/>
+        <include name="project.properties"/>
+        <include name="NOTICE"/>
+        <include name="LICENSE.txt"/>
+      </fileset>
+    </copy>
+  </preGoal>
+  
+</project>



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org