You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2010/02/15 00:44:20 UTC

svn commit: r910121 - /maven/core-integration-testing/trunk/core-it-suite/pom.xml

Author: bentmann
Date: Sun Feb 14 23:44:20 2010
New Revision: 910121

URL: http://svn.apache.org/viewvc?rev=910121&view=rev
Log:
o Added profile to run ITs using embedded Maven

Modified:
    maven/core-integration-testing/trunk/core-it-suite/pom.xml

Modified: maven/core-integration-testing/trunk/core-it-suite/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/pom.xml?rev=910121&r1=910120&r2=910121&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/pom.xml Sun Feb 14 23:44:20 2010
@@ -55,6 +55,7 @@
   </scm>
 
   <properties>
+    <surefireMemory>-Xmx256m -XX:MaxPermSize=128m</surefireMemory>
     <!-- The original Maven distribution to test. -->
     <mavenHome>${maven.home}</mavenHome>
     <!-- The (possibly instrumented copy of the) Maven distribution we actually use for the tests. -->
@@ -198,6 +199,26 @@
       </build>
     </profile>
     <profile>
+      <id>embedded</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <forkMode>once</forkMode>
+              <argLine>${surefireMemory}</argLine>
+              <systemProperties combine.children="append">
+                <property>
+                  <name>verifier.forkMode</name>
+                  <value>auto</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>emma</id>
       <properties>
         <preparedMavenHome>${project.build.directory}/distro</preparedMavenHome>