]> source.dussan.org Git - sonarqube.git/commitdiff
remove unused GWT permutations in order to increase build duration + use parallel...
authorsimonbrandhof <simon.brandhof@gmail.com>
Wed, 22 Sep 2010 21:03:57 +0000 (21:03 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Wed, 22 Sep 2010 21:03:57 +0000 (21:03 +0000)
13 files changed:
plugins/sonar-checkstyle-plugin/pom.xml
plugins/sonar-clover-plugin/pom.xml
plugins/sonar-cobertura-plugin/pom.xml
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/hotspots/GwtHotspots.gwt.xml
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/ui/pageselector/PageSelector.gwt.xml
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/violationsviewer/ViolationsViewer.gwt.xml
plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/dependencies/DependenciesTab.gwt.xml
plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/lcom4/Lcom4Tab.gwt.xml
plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/libraries/LibrariesPage.gwt.xml
plugins/sonar-design-plugin/src/main/resources/org/sonar/plugins/design/ui/page/DesignPage.gwt.xml
plugins/sonar-findbugs-plugin/pom.xml
plugins/sonar-squid-java-plugin/pom.xml
plugins/sonar-surefire-plugin/pom.xml

index af652fc2153f03c9a0f8d5b8c01037afb2b33b97..4262dcfa7e50a48414aa67dcc016d80ce4d1c3e4 100644 (file)
           <skip>true</skip>
         </configuration>
       </plugin>
+      
+      <!-- Running JUnit tests in parallel -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <parallel>methods</parallel>
+          <threadCount>3</threadCount>
+          <perCoreThreadCount>true</perCoreThreadCount>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>
\ No newline at end of file
index f49d64cd9084c438385ac1c8e3b632262fa566af..0405112f09362cdf2195417ce6c0421fedfe4747 100644 (file)
           <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>
 
index f2d154ea3dbb15d7557597723efa31d20558742a..c259d5a95bec54056e7e01dae344ab0172602a8f 100644 (file)
           <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>
\ No newline at end of file
index 574aa03fedc79249f30fd6cc89a40c44a44779d3..ad7ecd8c11f924c8ecfeb5b385e08c72ffeae451 100644 (file)
@@ -4,12 +4,7 @@
   <inherits name="com.google.gwt.http.HTTP"/>
   <inherits name="org.sonar.Sonar"/>
   <inherits name="com.google.gwt.i18n.I18N"/>
-
   <stylesheet src="hotspots.css"/>
-
   <entry-point class="org.sonar.plugins.core.hotspots.client.GwtHotspots"/>
-
-  <extend-property name="locale" values="en"/>
   <extend-property name="locale" values="fr"/>
-
 </module>
\ No newline at end of file
index d7ec90cf69021c7fc7997c8452f8f62f9d35d818..8299ca591d0c1b2a40c50683ca96418794475eb1 100644 (file)
@@ -8,7 +8,5 @@
   
   <entry-point class="org.sonar.plugins.core.ui.pageselector.client.PageSelector"/>
 
-  <extend-property name="locale" values="en"/>
   <extend-property name="locale" values="fr"/>
-
 </module>
\ No newline at end of file
index 473ccebe3605dc43321c7d258f4454746bdbdec4..fed31ca288e703ee265b1d864d60793599839df6 100644 (file)
@@ -8,6 +8,5 @@
 
   <entry-point class="org.sonar.plugins.core.violationsviewer.client.ViolationsViewer"/>
 
-  <extend-property name="locale" values="en"/>
   <extend-property name="locale" values="fr"/>
 </module>
index c20b988ba44897a7a84e26c0a6bc20d9c64ac9f1..1d8aa50cac968a9f9addd912a4fd108f231e2e6e 100644 (file)
@@ -7,7 +7,5 @@
   <stylesheet src='dependencies-tab.css'/>
   <entry-point class="org.sonar.plugins.design.ui.dependencies.client.DependenciesTab"/>
 
-  <extend-property name="locale" values="en"/>
-  <extend-property name="locale" values="fr"/>
-  
+  <extend-property name="locale" values="fr"/> 
 </module>
index 2de9ebb79657204622c495d38fa71bc6a0c45c3d..124aa37c47dacc71766ceb85c875a0c6c58d54ce 100644 (file)
@@ -3,11 +3,6 @@
   <inherits name="com.google.gwt.json.JSON"/>
   <inherits name="com.google.gwt.http.HTTP"/>
   <inherits name="org.sonar.Sonar"/>
-
   <stylesheet src="lcom4.css"/>
   <entry-point class="org.sonar.plugins.design.ui.lcom4.client.Lcom4Tab"/>
-
-  <extend-property name="locale" values="en"/>
-  <extend-property name="locale" values="fr"/>
-
 </module>
index f19861a3644ca7832c8a6c54a01c5c88d0cf00d0..ebcb5b8971ad84dff2b4db49c354f680b181b91b 100644 (file)
@@ -4,10 +4,6 @@
   <inherits name="com.google.gwt.http.HTTP"/>
   <inherits name="org.sonar.Sonar"/>
   <stylesheet src="libraries.css"/>
-
   <entry-point class="org.sonar.plugins.design.ui.libraries.client.LibrariesPage"/>
-
-  <extend-property name="locale" values="en"/>
   <extend-property name="locale" values="fr"/>
-
 </module>
index 7655704d8863509635c000644365d0825ede5ee5..79a507eb137c268f8bf230ebbc5421a5de059f04 100644 (file)
@@ -3,10 +3,7 @@
   <inherits name="com.google.gwt.json.JSON"/>
   <inherits name="com.google.gwt.http.HTTP"/>
   <inherits name="org.sonar.Sonar"/>
-  <stylesheet src="design.css"/>
-  
+  <stylesheet src="design.css"/> 
   <entry-point class="org.sonar.plugins.design.ui.page.client.DesignPage"/>
-
-  <extend-property name="locale" values="en"/>
   <extend-property name="locale" values="fr"/>
 </module>
index a5ad7731d5fbd4a80196e41b7a970101f09b12d6..d74fc6a92a71dc3f0280065d14a8d320028eacb1 100644 (file)
           <skip>true</skip>
         </configuration>
       </plugin>
+      <!-- Running JUnit tests in parallel -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <parallel>methods</parallel>
+          <threadCount>3</threadCount>
+          <perCoreThreadCount>true</perCoreThreadCount>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>
\ No newline at end of file
index 9ae8a290a2f03cc25e0020d0bc654fe26478a434..4d09d61ebefd2a363e6adb8eb606369dcf86f781 100644 (file)
           <skip>true</skip>
         </configuration>
       </plugin>
+      
     </plugins>
   </build>
 </project>
index 3f5972088a004e1ddf1d30b4c50c1bce4c3a612b..d73c33b603c92a2912ac163de0e068c3e1acac3d 100644 (file)
@@ -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>
 
           <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>