You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2010/08/26 11:46:46 UTC

svn commit: r989573 - /maven/maven-3/trunk/build.xml

Author: olamy
Date: Thu Aug 26 09:46:46 2010
New Revision: 989573

URL: http://svn.apache.org/viewvc?rev=989573&view=rev
Log:
add a flag skipTests to be able to skip test execution and not tests compilation

Modified:
    maven/maven-3/trunk/build.xml

Modified: maven/maven-3/trunk/build.xml
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/build.xml?rev=989573&r1=989572&r2=989573&view=diff
==============================================================================
--- maven/maven-3/trunk/build.xml (original)
+++ maven/maven-3/trunk/build.xml Thu Aug 26 09:46:46 2010
@@ -78,6 +78,7 @@ Do you want to continue?</input>
     <property name="maven.repo.local" value="${user.home}/.m2/repository" />
     <property name="maven.debug" value="-e" />
     <property name="maven.test.skip" value="false" />
+    <property name="skipTests" value="false" />
     <property name="surefire.useFile" value="true" />
     <property name="maven.test.redirectTestOutputToFile" value="${surefire.useFile}" />
     <echo>maven.home = ${maven.home}</echo>
@@ -233,6 +234,7 @@ Do you want to continue?</input>
       <arg value="clean" />
       <arg value="install" />
       <arg value="-Dmaven.test.skip=${maven.test.skip}" />
+      <arg value="-DskipTests=${skipTests}" />
       <arg value="-Dmaven.repo.local=${maven.repo.local}" />
       <arg value="-Dsurefire.useFile=${surefire.useFile}" />
       <arg value="-Dmaven.test.redirectTestOutputToFile=${maven.test.redirectTestOutputToFile}" />