You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by jm...@apache.org on 2005/03/10 03:42:35 UTC

svn commit: r156724 - in struts/build/trunk: maven.xml project.properties

Author: jmitchell
Date: Wed Mar  9 18:42:31 2005
New Revision: 156724

URL: http://svn.apache.org/viewcvs?view=rev&rev=156724
Log:
add reactor to copy distributions for easy upload

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=156723&r2=156724
==============================================================================
--- struts/build/trunk/maven.xml (original)
+++ struts/build/trunk/maven.xml Wed Mar  9 18:42:31 2005
@@ -35,6 +35,7 @@
 
 
 	<goal name="build-all">
+
 		  	<maven:reactor
 			      basedir="../"
 			      includes="*/project.xml"
@@ -43,6 +44,14 @@
 			      banner="Building nightlies"
 		      ignoreFailures="true"/>
 
+		  	<maven:reactor
+			      basedir="../"
+			      includes="*/project.xml"
+			      excludes="build/project.xml"
+			      goals="copy-distribution"
+			      banner="Building nightlies"
+		      ignoreFailures="true"/>
+
 	</goal>
 
 
@@ -70,12 +79,6 @@
 		  </ant:fileset>
 		</ant:copy>
 		
-		<ant:copy todir="../build/${today}/${pom.artifactId}-${pom.currentVersion}">
-		  <ant:fileset dir="${maven.build.dir}/distributions">
-			<ant:include name="*"/>
-		  </ant:fileset>
-		</ant:copy>
-
 	</postGoal>
 
   <postGoal name="dist:prepare-src-filesystem">
@@ -98,4 +101,14 @@
       </ant:fileset>
     </ant:copy>
   </postGoal>
-</project>
\ No newline at end of file
+
+  <goal name="copy-distribution">
+	<ant:copy todir="../build/${today}/${pom.artifactId}-${pom.currentVersion}">
+	  <ant:fileset dir="${maven.build.dir}/distributions">
+		<ant:include name="*"/>
+	  </ant:fileset>
+	</ant:copy>
+  </goal>
+
+
+</project>

Modified: struts/build/trunk/project.properties
URL: http://svn.apache.org/viewcvs/struts/build/trunk/project.properties?view=diff&r1=156723&r2=156724
==============================================================================
--- struts/build/trunk/project.properties (original)
+++ struts/build/trunk/project.properties Wed Mar  9 18:42:31 2005
@@ -3,3 +3,4 @@
 
 maven.multiproject.basedir  = ../
 maven.multiproject.includes = */project.xml
+maven.multiproject.excludes = build/*



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