o Increased memory for IT run during bootstrap

git-svn-id: 
https://svn.apache.org/repos/asf/maven/maven-2/branches/maven-2.2.x@894339 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/bde17639
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/bde17639
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/bde17639

Branch: refs/heads/maven-2.2.x
Commit: bde176398d7f88cc21907bc50cbe531afbe1ad0a
Parents: 8c3539c
Author: Benjamin Bentmann <bentm...@apache.org>
Authored: Tue Dec 29 10:28:51 2009 +0000
Committer: Benjamin Bentmann <bentm...@apache.org>
Committed: Tue Dec 29 10:28:51 2009 +0000

----------------------------------------------------------------------
 build.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/bde17639/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 08e7694..f26f42c 100644
--- a/build.xml
+++ b/build.xml
@@ -245,6 +245,7 @@ TODO:
         <os family="windows"/>
       </not>
     </condition>
+    <property name="maven.opts.its" value="-Xmx128m -XX:MaxPermSize=128m"/>
   </target>
 
   <target name="its-win32" if="its.win32">
@@ -272,6 +273,7 @@ TODO:
     <echo>Running integration tests</echo>
     <exec failonerror="true" 
dir="${java.io.tmpdir}/${itPom.artifactId}-${itPom.version}" executable="cmd">
       <env key="M2_HOME" value="${maven.home}"/>
+      <env key="MAVEN_OPTS" value="${maven.opts.its}"/>
       <arg value="/c"/>
       <arg value="${maven.home}\bin\mvn.bat"/>
       <arg value="-Prun-its"/>
@@ -304,6 +306,7 @@ TODO:
     <echo>Running integration tests</echo>
     <exec failonerror="true" 
dir="${java.io.tmpdir}/${itPom.artifactId}-${itPom.version}" 
executable="${maven.home}/bin/mvn">
       <env key="M2_HOME" value="${maven.home}"/>
+      <env key="MAVEN_OPTS" value="${maven.opts.its}"/>
       <arg value="-Prun-its"/>
       <arg value="-e"/>
       <arg value="-B"/>

Reply via email to