Author: antelder
Date: Tue Jan 19 15:14:32 2010
New Revision: 900813
URL: http://svn.apache.org/viewvc?rev=900813&view=rev
Log:
Add a 'fast' profile for experimenting with Surefires parallel test running,
the only changes from the existing surefire config is moving up to the 2.5
release and adding the <parallel> config element. (Also Junit 4.8.1 is really
needed for this to work effectively)
Modified:
tuscany/sca-java-2.x/trunk/pom.xml
Modified: tuscany/sca-java-2.x/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/pom.xml?rev=900813&r1=900812&r2=900813&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/pom.xml (original)
+++ tuscany/sca-java-2.x/trunk/pom.xml Tue Jan 19 15:14:32 2010
@@ -568,6 +568,29 @@
<!-- END - WHAT ARE THE FOLLOWING PROFILES FOR? -->
+ <profile>
+ <id>fast</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ <reportFormat>brief</reportFormat>
+ <useFile>false</useFile>
+ <forkMode>once</forkMode>
+ <argLine>-ea -Xmx256m</argLine>
+ <parallel>classes</parallel>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>