You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2008/10/30 22:13:26 UTC

svn commit: r709245 - in /maven/components/branches/maven-2.0.10-RC: ./ build.xml maven-integration-tests/ maven-integration-tests/pom.xml pom.xml

Author: jdcasey
Date: Thu Oct 30 14:13:26 2008
New Revision: 709245

URL: http://svn.apache.org/viewvc?rev=709245&view=rev
Log:
Merging revIds: 709032, 709208, 709241 from 2.0.x branch.

Added:
    maven/components/branches/maven-2.0.10-RC/maven-integration-tests/   (props changed)
      - copied from r709032, maven/components/branches/maven-2.0.x/maven-integration-tests/
    maven/components/branches/maven-2.0.10-RC/maven-integration-tests/pom.xml
      - copied, changed from r709032, maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml
Modified:
    maven/components/branches/maven-2.0.10-RC/   (props changed)
    maven/components/branches/maven-2.0.10-RC/build.xml
    maven/components/branches/maven-2.0.10-RC/pom.xml

Propchange: maven/components/branches/maven-2.0.10-RC/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Oct 30 14:13:26 2008
@@ -1,3 +1,4 @@
+bootstrap
 release.properties
 maven.log
 target

Propchange: maven/components/branches/maven-2.0.10-RC/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Oct 30 14:13:26 2008
@@ -1 +1 @@
-/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.0.x:533160,636838,645583,645642,647357,649903,657432,659677,662033,662251,669665,670358,673499,673905,674059,675074,675087,675096,675375,675380,680604,682055,709032,709208,709241

Modified: maven/components/branches/maven-2.0.10-RC/build.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/build.xml?rev=709245&r1=709244&r2=709245&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.10-RC/build.xml (original)
+++ maven/components/branches/maven-2.0.10-RC/build.xml Thu Oct 30 14:13:26 2008
@@ -18,6 +18,8 @@
 -->
 
 <project default="all" basedir="." xmlns:artifact="urn:maven-artifact-ant">
+  
+  <property name="it.workdir.version" value="2.0.10-RC"/>
 
   <target name="initTaskDefs">
   	<xmlproperty file="pom.xml" prefix="pom.xml" />
@@ -184,7 +186,58 @@
       </fileset>
     </chmod>
   </target>
+  
+  <target name="its-setup">
+    <condition property="its.win32">
+      <os family="windows"/>
+    </condition>
+    <condition property="its.unix">
+      <not>
+        <os family="windows"/>
+      </not>
+    </condition>
+  </target>
+  
+  <target name="its-win32" if="its.win32">
+    <echo>Retrieving integration tests</echo>
+    <exec dir="${basedir}/maven-integration-tests" executable="cmd">
+      <arg value="/c"/>
+      <arg value="${maven.home}\bin\mvn.bat"/>
+      <arg value="initialize"/>
+    </exec>
+    
+    <echo>Running integration tests</echo>
+    <!-- Hard-coding to /tmp/ to avoid long path names that will make windows scream. -->
+    <exec failonerror="true" dir="/tmp/maven-integration-tests-${it.workdir.version}" executable="cmd">
+      <arg value="/c"/>
+      <arg value="${maven.home}\bin\mvn.bat"/>
+      <arg value="-Prun-its"/>
+      <arg value="clean"/>
+      <arg value="install"/>
+    </exec>
+  </target>
 
+  <target name="its-unix" if="its.unix">
+    <echo>Retrieving integration tests</echo>
+    <exec dir="${basedir}/maven-integration-tests" executable="${maven.home}/bin/mvn">
+      <arg value="initialize"/>
+    </exec>
+    
+    <echo>Running integration tests</echo>
+    <!-- Hard-coding to /tmp/ to avoid long path names that will make windows scream. -->
+    <exec failonerror="true" dir="/tmp/maven-integration-tests-${it.workdir.version}" executable="${maven.home}/bin/mvn">
+      <arg value="-Prun-its"/>
+      <arg value="clean"/>
+      <arg value="install"/>
+    </exec>
+  </target>
+
+  <target name="run-its" depends="init,its-setup,its-win32,its-unix">
+    <echo>Integration-test results should be displayed above.</echo>
+  </target>
+  
   <target name="all" depends="clean-bootstrap,init,extract-assembly"/>
 
+  <target name="with-its" depends="all,run-its"/>
+  
 </project>

Propchange: maven/components/branches/maven-2.0.10-RC/maven-integration-tests/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Oct 30 14:13:26 2008
@@ -0,0 +1 @@
+tests

Copied: maven/components/branches/maven-2.0.10-RC/maven-integration-tests/pom.xml (from r709032, maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml)
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/maven-integration-tests/pom.xml?p2=maven/components/branches/maven-2.0.10-RC/maven-integration-tests/pom.xml&p1=maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml&r1=709032&r2=709245&rev=709245&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-integration-tests/pom.xml (original)
+++ maven/components/branches/maven-2.0.10-RC/maven-integration-tests/pom.xml Thu Oct 30 14:13:26 2008
@@ -20,7 +20,8 @@
       <activation>
         <activeByDefault>true</activeByDefault>
         <file>
-          <exists>tests/pom.xml</exists>
+          <!-- NOT INTERPOLATED. These values must be explicit. -->
+          <exists>/tmp/maven-integration-tests-2.0.10-RC/pom.xml</exists>
         </file>
       </activation>
       <build>
@@ -44,7 +45,8 @@
       <id>checkout</id>
       <activation>
         <file>
-          <missing>tests/pom.xml</missing>
+          <!-- NOT INTERPOLATED. These values must be explicit. -->
+          <missing>/tmp/maven-integration-tests-2.0.10-RC/pom.xml</missing>
         </file>
       </activation>
       <build>
@@ -90,7 +92,9 @@
         <version>1.1</version>
         <configuration>
           <connectionUrl>scm:svn:http://svn.apache.org/repos/asf/maven/core-integration-testing/${integrationTestSVNDir}</connectionUrl>
-          <checkoutDirectory>tests</checkoutDirectory>
+          <!-- Hard-coding to /tmp/ to avoid long path names that will make windows scream. -->
+          <!-- NOT INTERPOLATED DURING PROFILE ACTIVATION, so making these values explicit throughout to avoid confusion. -->
+          <checkoutDirectory>/tmp/maven-integration-tests-2.0.10-RC</checkoutDirectory>
         </configuration>
       </plugin>
     </plugins>

Modified: maven/components/branches/maven-2.0.10-RC/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.10-RC/pom.xml?rev=709245&r1=709244&r2=709245&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.10-RC/pom.xml (original)
+++ maven/components/branches/maven-2.0.10-RC/pom.xml Thu Oct 30 14:13:26 2008
@@ -16,9 +16,7 @@
 KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+--><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -580,4 +578,4 @@
       </reporting>
     </profile>
   </profiles>
-</project>
+</project>
\ No newline at end of file