tfischer 2005/07/17 20:47:24
Modified: . project.xml maven.xml
Log:
moved default target from maven.xml to project.xml
also released project-base.xml in source distribution to make its build work
Revision Changes Path
1.118 +1 -1 db-torque/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/db-torque/project.xml,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -r1.117 -r1.118
--- project.xml 8 Jul 2005 17:46:42 -0000 1.117
+++ project.xml 18 Jul 2005 03:46:39 -0000 1.118
@@ -170,7 +170,7 @@
<exclude>**/BaseTestCase.java</exclude>
</excludes>
</unitTest>
-
+ <defaultGoal>jar:jar</defaultGoal>
<resources></resources>
</build>
1.24 +16 -2 db-torque/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/db-torque/maven.xml,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- maven.xml 31 Jan 2005 19:43:56 -0000 1.23
+++ maven.xml 18 Jul 2005 03:46:45 -0000 1.24
@@ -26,7 +26,6 @@
<!--
======================================================================== -->
<project
- default="jar:jar"
xmlns:deploy="deploy">
<!-- Allow any user specific values to override the defaults -->
@@ -48,6 +47,21 @@
</preGoal>
<!-- ================================================================== -->
+ <!-- D I S T : B U I L D _ S R C P R E G O A L -->
+ <!-- ================================================================== -->
+ <!-- includes project-base.xml in the source distribution -->
+ <!-- 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">
+ <!-- include project-base.xml -->
+ <!-- the failonerror is there because this preGoal also is -->
+ <!-- called from the generator where the project-base.xml -->
+ <!-- does not exist in the base directory -->
+ <copy todir="${maven.dist.src.assembly.dir}" file="project-base.xml"
failonerror="false"/>
+ </preGoal>
+
+ <!-- ================================================================== -->
<!-- D I S T : L I T E -->
<!-- ================================================================== -->
<!-- binary distribution without jars used by scarab -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]