aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-surefire-plugin
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-09-22 21:03:57 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-09-22 21:03:57 +0000
commit0a85d34d0ac1912a4639e6d3baa4a2f8668f88a1 (patch)
tree58f93306353b6269a198a31f410eaafbe4defca8 /plugins/sonar-surefire-plugin
parent89c8dcc3b8db2fb2b044b093113a81aced0dabbd (diff)
downloadsonarqube-0a85d34d0ac1912a4639e6d3baa4a2f8668f88a1.tar.gz
sonarqube-0a85d34d0ac1912a4639e6d3baa4a2f8668f88a1.zip
remove unused GWT permutations in order to increase build duration + use parallel unit tests on plugins checkstyle, pmd and findbugs
Diffstat (limited to 'plugins/sonar-surefire-plugin')
-rw-r--r--plugins/sonar-surefire-plugin/pom.xml17
1 files changed, 14 insertions, 3 deletions
diff --git a/plugins/sonar-surefire-plugin/pom.xml b/plugins/sonar-surefire-plugin/pom.xml
index 3f5972088a0..d73c33b603c 100644
--- a/plugins/sonar-surefire-plugin/pom.xml
+++ b/plugins/sonar-surefire-plugin/pom.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.codehaus.sonar</groupId>
@@ -58,7 +59,8 @@
<pluginKey>surefire</pluginKey>
<pluginName>Surefire</pluginName>
<pluginClass>org.sonar.plugins.surefire.SurefirePlugin</pluginClass>
- <pluginDescription><![CDATA[Get results of unit tests with <a href='http://maven.apache.org/plugins/maven-surefire-plugin/'>Surefire</a>.]]></pluginDescription>
+ <pluginDescription>
+ <![CDATA[Get results of unit tests with <a href='http://maven.apache.org/plugins/maven-surefire-plugin/'>Surefire</a>.]]></pluginDescription>
</configuration>
</plugin>
@@ -68,7 +70,16 @@
<skip>true</skip>
</configuration>
</plugin>
-
+ <!-- Running JUnit tests in parallel -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <parallel>classes</parallel>
+ <threadCount>3</threadCount>
+ <perCoreThreadCount>true</perCoreThreadCount>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>