Author: jdcasey
Date: Wed Dec 10 10:20:40 2008
New Revision: 725363

URL: http://svn.apache.org/viewvc?rev=725363&view=rev
Log:
merge -c 725359 -c 725349 -c 725342 -c 725330 -c 725329 from 2.0.10-RC branch 
to fix IT builds on CI systems.

Modified:
    maven/components/branches/maven-2.0.x/   (props changed)
    maven/components/branches/maven-2.0.x/build.xml
    maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml

Propchange: maven/components/branches/maven-2.0.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Dec 10 10:20:40 2008
@@ -1,3 +1,4 @@
+/maven/components/branches/maven-2.0.10-RC:725329-725330,725342,725349,725359
 
/maven/components/branches/maven-2.0.x:533160,636838,645583,645642,647357,649903,657432,659677,662033,662251,669665,670358,673499,673905,674059,675074,675087,675096,675375,675380,680604,682055
 /maven/components/branches/maven-2.1.x:720038
 /maven/components/trunk:720001

Modified: maven/components/branches/maven-2.0.x/build.xml
URL: 
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/build.xml?rev=725363&r1=725362&r2=725363&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/build.xml (original)
+++ maven/components/branches/maven-2.0.x/build.xml Wed Dec 10 10:20:40 2008
@@ -20,7 +20,7 @@
 <project default="all" basedir="." xmlns:artifact="urn:maven-artifact-ant">
   
   <target name="initTaskDefs" unless="taskdefs.inited">
-       <xmlproperty file="pom.xml" prefix="pom.xml" />
+    <xmlproperty file="pom.xml" prefix="pom.xml" />
     <path id="maven-ant-tasks.classpath" path="maven-ant-tasks-2.0.8.jar"/>
     <typedef resource="org/apache/maven/artifact/ant/antlib.xml" 
uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath"/>
     <property name="taskdefs.inited" value="true"/>
@@ -37,6 +37,7 @@
       <isset property="env.M2_HOME"/>
     </condition>
     <fail unless="maven.home" message="You must set the M2_HOME environment 
variable or specify a maven.home property to this Ant script"/>
+    <echo>Using Maven home at: ${maven.home}</echo>
   </target>
 
   <target name="read-poms" depends="initTaskDefs,initLocalRepo" 
unless="pom.version">
@@ -213,12 +214,15 @@
   
   <target name="its-win32" if="its.win32">
     <echo>Retrieving integration tests</echo>
-    <exec dir="${basedir}/${itPom.artifactId}" executable="cmd">
+    <exec failonerror="true" dir="${basedir}/${itPom.artifactId}" 
executable="cmd">
+      <env key="M2_HOME" value="${maven.home}"/>
       <arg value="/c"/>
       <arg value="${maven.home}\bin\mvn.bat"/>
       <arg value="process-resources"/>
     </exec>
-    <exec dir="${basedir}/${itPom.artifactId}/target/classes" executable="cmd">
+    
+    <exec failonerror="true" 
dir="${basedir}/${itPom.artifactId}/target/classes" executable="cmd">
+      <env key="M2_HOME" value="${maven.home}"/>
       <arg value="/c"/>
       <arg value="${maven.home}\bin\mvn.bat"/>
       <arg value="package"/>
@@ -227,6 +231,7 @@
     <echo>Running integration tests</echo>
     <!-- Using java.io.tmpdir to avoid long path names that will make windows 
scream. -->
     <exec failonerror="true" 
dir="${java.io.tmpdir}/${itPom.artifactId}-${itPom.version}" executable="cmd">
+      <env key="M2_HOME" value="${maven.home}"/>
       <arg value="/c"/>
       <arg value="${maven.home}\bin\mvn.bat"/>
       <arg value="-Prun-its"/>
@@ -237,16 +242,19 @@
 
   <target name="its-unix" if="its.unix">
     <echo>Retrieving integration tests</echo>
-    <exec dir="${basedir}/${itPom.artifactId}" 
executable="${maven.home}/bin/mvn">
+    <exec failonerror="true" dir="${basedir}/${itPom.artifactId}" 
executable="${maven.home}/bin/mvn">
+      <env key="M2_HOME" value="${maven.home}"/>
       <arg value="process-resources"/>
     </exec>
-    <exec dir="${basedir}/${itPom.artifactId}/target/classes" 
executable="${maven.home}/bin/mvn">
+    <exec failonerror="true" 
dir="${basedir}/${itPom.artifactId}/target/classes" 
executable="${maven.home}/bin/mvn">
+      <env key="M2_HOME" value="${maven.home}"/>
       <arg value="package"/>
     </exec>
     
     <echo>Running integration tests</echo>
     <!-- Using java.io.tmpdir to avoid long path names that will make windows 
scream. -->
     <exec failonerror="true" 
dir="${java.io.tmpdir}/${itPom.artifactId}-${itPom.version}" 
executable="${maven.home}/bin/mvn">
+      <env key="M2_HOME" value="${maven.home}"/>
       <arg value="-Prun-its"/>
       <arg value="clean"/>
       <arg value="install"/>

Modified: maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml?rev=725363&r1=725362&r2=725363&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml 
(original)
+++ maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml Wed 
Dec 10 10:20:40 2008
@@ -4,7 +4,7 @@
   <parent>
     <artifactId>maven</artifactId>
     <groupId>org.apache.maven</groupId>
-    <version>2.0.11-SNAPSHOT</version>
+    <version>2.0.x</version>
   </parent>
   <artifactId>maven-integration-tests</artifactId>
   <name>Maven Integration-Test Importer</name>
@@ -76,6 +76,7 @@
         <configuration>
           
<connectionUrl>scm:svn:http://svn.apache.org/repos/asf/maven/core-integration-testing/${integrationTestSVNDir}</connectionUrl>
           <checkoutDirectory>${itDir}</checkoutDirectory>
+          <workingDirectory>${itDir}</workingDirectory>
         </configuration>
       </plugin>
     </plugins>


Reply via email to