summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-19 15:14:32 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-01-19 15:14:32 +0000
commit3a66f349a37e660a20d58825da0e04d8804fc4b9 (patch)
tree3a65b7243044a7e769b5200061bd8a947150f35c /sca-java-2.x/trunk
parente9c11da6c338e92c9f41b3958011d1771f111b8a (diff)
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)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900813 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r--sca-java-2.x/trunk/pom.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/pom.xml b/sca-java-2.x/trunk/pom.xml
index b8c41e22bf..8c3f3d242c 100644
--- a/sca-java-2.x/trunk/pom.xml
+++ b/sca-java-2.x/trunk/pom.xml
@@ -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>