Author: jmitchell
Date: Thu Mar 3 10:10:31 2005
New Revision: 156062
URL: http://svn.apache.org/viewcvs?view=rev&rev=156062
Log:
add the ability to compile the nightly to one place (for easier scp)
Modified:
struts/build/trunk/maven.xml
struts/build/trunk/project.properties
Modified: struts/build/trunk/maven.xml
URL:
http://svn.apache.org/viewcvs/struts/build/trunk/maven.xml?view=diff&r1=156061&r2=156062
==============================================================================
--- struts/build/trunk/maven.xml (original)
+++ struts/build/trunk/maven.xml Thu Mar 3 10:10:31 2005
@@ -50,6 +50,12 @@
ignoreFailures="false"
/>
+ <maven:maven
+ descriptor="../faces/project.xml"
+ goals="dist"
+ ignoreFailures="false"
+ />
+
</goal>
<goal name="clean-all">
@@ -95,11 +101,93 @@
ignoreFailures="false"
/>
+ <maven:maven
+ descriptor="../faces/project.xml"
+ goals="clean"
+ ignoreFailures="false"
+ />
+
</goal>
<postGoal name="dist">
<attainGoal name="jar:install"/>
</postGoal>
+
+
+<goal name="struts:gather:all:distributions">
+
+ <maven:maven
+ descriptor="../core/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <maven:maven
+ descriptor="../taglib/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <maven:maven
+ descriptor="../tiles/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <maven:maven
+ descriptor="../el/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <maven:maven
+ descriptor="../bsf/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <maven:maven
+ descriptor="../flow/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <maven:maven
+ descriptor="../faces/project.xml"
+ goals="struts:gather:distribution"
+ ignoreFailures="false"
+ />
+
+ <tstamp>
+ <format property="now" pattern="yyyy-MM-dd"/>
+ </tstamp>
+
+ <j:set var="distributions" value="target/distributions"/>
+ <j:set var="build" value="../build"/>
+ <j:set var="dir" value="${build}/${now}"/>
+
+ <ant:copy todir="${dir}">
+ <ant:fileset dir="../apps/blank/target/">
+ <ant:include name="struts-blank.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy todir="${dir}">
+ <ant:fileset dir="../apps/shared/target/">
+ <ant:include name="struts-mailreader.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ <ant:copy todir="${dir}">
+ <ant:fileset dir="../apps/examples/target/">
+ <ant:include name="struts-examples.war"/>
+ </ant:fileset>
+ </ant:copy>
+
+ </goal>
+
+
+
<goal name="struts:gather:distribution">
<tstamp>
Modified: struts/build/trunk/project.properties
URL:
http://svn.apache.org/viewcvs/struts/build/trunk/project.properties?view=diff&r1=156061&r2=156062
==============================================================================
--- struts/build/trunk/project.properties (original)
+++ struts/build/trunk/project.properties Thu Mar 3 10:10:31 2005
@@ -1,4 +1,5 @@
maven.changelog.factory = org.apache.maven.svnlib.SvnChangeLogFactory
-
+maven.multiproject.basedir = ../
+maven.multiproject.includes = */project.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]