quintonm 2003/03/25 14:33:31
Modified: . Tag: TURBINE_2_2_BRANCH maven.xml
project.properties project.xml
Log:
Updates to allow for nightly builds and site updates.
Revision Changes Path
No revision
No revision
1.4.2.2 +55 -0 jakarta-turbine-2/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/maven.xml,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.2
diff -u -r1.4.2.1 -r1.4.2.2
--- maven.xml 31 Jan 2003 16:07:37 -0000 1.4.2.1
+++ maven.xml 25 Mar 2003 22:33:31 -0000 1.4.2.2
@@ -2,6 +2,7 @@
xmlns:j="jelly:core"
xmlns:m="maven"
xmlns:u="jelly:util"
+ xmlns:maven="jelly:maven"
default="java:jar">
<!-- Define a post goal for compile to copy intake.dtd into the appropriate
@@ -15,5 +16,59 @@
/>
</postGoal>
+
+ <!-- ================================================== -->
+ <!-- Perform the nightly build process -->
+ <!-- ================================================== -->
+ <goal name="nightly:build"
+ description="Build distribution snapshots">
+
+ <cvs command="-q update -Pd"/>
+ <attainGoal name="clean"/>
+ <maven:snapshot project="${pom}"/>
+
+ <j:set var="maven.final.name"
value="${snapshotSignature}-${pom.currentVersion}"/>
+ <attainGoal name="dist:build"/>
+
+ </goal>
+
+ <!-- ================================================== -->
+ <!-- Deploy the nightly builds -->
+ <!-- ================================================== -->
+ <goal name="nightly:deploy"
+ prereqs="nightly:build"
+ description="Deploy the nightly builds">
+
+ <m:user-check user="${maven.username}"/>
+
+ <echo>
+ deploymentAddress = ${pom.siteAddress}
+ deploymentDirectory = ${turbine.nightly.dist.dir}
+ </echo>
+
+ <j:set var="dist.dir" value="${maven.build.dir}/distributions" />
+
+ <!-- Make sure the destination directory exists before trying to copy -->
+ <exec dir="." executable="${maven.ssh.executable}">
+ <arg line="${pom.siteAddress} -l ${maven.username} 'mkdir -p
${turbine.nightly.dist.dir}'"/>
+ </exec>
+
+ <fileScanner var="distFiles">
+ <fileset dir="${dist.dir}">
+ </fileset>
+ </fileScanner>
+
+ <j:forEach var="file" items="${distFiles.iterator()}">
+ <echo>Processing ${file}</echo>
+
+ <exec dir="${dist.dir}" executable="${maven.scp.executable}">
+ <arg value="${file}"/>
+ <arg value="[EMAIL PROTECTED]:${turbine.nightly.dist.dir}"/>
+ </exec>
+ </j:forEach>
+
+ </goal>
+
+
</project>
1.7.2.1 +9 -0 jakarta-turbine-2/project.properties
Index: project.properties
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/project.properties,v
retrieving revision 1.7
retrieving revision 1.7.2.1
diff -u -r1.7 -r1.7.2.1
--- project.properties 6 Dec 2002 17:38:21 -0000 1.7
+++ project.properties 25 Mar 2003 22:33:31 -0000 1.7.2.1
@@ -19,3 +19,12 @@
# -------------------------------------------------------------------
maven.cactus.src.dir=src/rttest
maven.war.src=src/rttest/testapp
+
+# -------------------------------------------------------------------
+# N I G H T L Y B U I L D P R O P E R T I E S
+# -------------------------------------------------------------------
+
+turbine.nightly.dist.dir = \
+ /www/jakarta.apache.org/builds/jakarta-turbine/turbine-2/nightly
+
+
1.59.2.6 +13 -0 jakarta-turbine-2/project.xml
Index: project.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/project.xml,v
retrieving revision 1.59.2.5
retrieving revision 1.59.2.6
diff -u -r1.59.2.5 -r1.59.2.6
--- project.xml 25 Mar 2003 20:44:56 -0000 1.59.2.5
+++ project.xml 25 Mar 2003 22:33:31 -0000 1.59.2.6
@@ -522,6 +522,10 @@
<version>1.5.3</version>
</dependency>
<dependency>
+ <id>oro</id>
+ <version>2.0.7</version>
+ </dependency>
+ <dependency>
<id>jython</id>
<version>2.1</version>
</dependency>
@@ -553,4 +557,13 @@
<jars/>
</build>
+
+ <reports>
+ <report>maven-checkstyle-plugin</report>
+ <report>maven-developer-activity-plugin</report>
+ <report>maven-javadoc-plugin</report>
+ <report>maven-jxr-plugin</report>
+ <report>maven-tasklist-plugin</report>
+ </reports>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]