aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-core-gwt/pom.xml
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-01-13 19:13:16 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-01-13 19:15:06 +0100
commitdff2f68c8d045037248e4924c48b100d2d5d05d8 (patch)
tree82f979adf05acc23826c805c43d4ff015a13869a /plugins/sonar-core-gwt/pom.xml
parentc34c1bc92635b3f4846a8aae267be8094be80b8c (diff)
downloadsonarqube-dff2f68c8d045037248e4924c48b100d2d5d05d8.tar.gz
sonarqube-dff2f68c8d045037248e4924c48b100d2d5d05d8.zip
optimizing GWT compilation to speed up build in dev environments
Diffstat (limited to 'plugins/sonar-core-gwt/pom.xml')
-rw-r--r--plugins/sonar-core-gwt/pom.xml45
1 files changed, 24 insertions, 21 deletions
diff --git a/plugins/sonar-core-gwt/pom.xml b/plugins/sonar-core-gwt/pom.xml
index ea1b2ca3c38..adae8808add 100644
--- a/plugins/sonar-core-gwt/pom.xml
+++ b/plugins/sonar-core-gwt/pom.xml
@@ -52,36 +52,24 @@
<plugins>
<plugin>
- <groupId>com.atlassian.maven.plugins</groupId>
- <artifactId>maven-clover2-plugin</artifactId>
- <configuration>
- <excludes>
- <!-- GWT classes -->
- <exclude>**/client/**/*.java</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<modules>
- <module>org.sonar.plugins.core.ui.pageselector.PageSelector</module>
- <module>org.sonar.plugins.core.clouds.GwtClouds</module>
- <module>org.sonar.plugins.core.violationsviewer.ViolationsViewer</module>
- <module>org.sonar.plugins.core.coverageviewer.CoverageViewer</module>
- <module>org.sonar.plugins.core.defaultsourceviewer.GwtDefaultSourceViewer</module>
- <module>org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer</module>
- <module>org.sonar.plugins.core.testdetailsviewer.TestsViewer</module>
- <module>org.sonar.plugins.core.hotspots.GwtHotspots</module>
+ <module>org.sonar.plugins.core.ui.pageselector.PageSelector${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.clouds.GwtClouds${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.violationsviewer.ViolationsViewer${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.coverageviewer.CoverageViewer${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.defaultsourceviewer.GwtDefaultSourceViewer${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.duplicationsviewer.DuplicationsViewer${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.testdetailsviewer.TestsViewer${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.core.hotspots.GwtHotspots${gwt.permutationSuffix}</module>
</modules>
<skip>${skipGwt}</skip>
<webappDirectory>${project.build.directory}/classes</webappDirectory>
-
- <!-- do not break on two lines -->
- <extraJvmArgs>-Xmx512m -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory</extraJvmArgs>
+ <extraJvmArgs>${gwt.extraJvmArgs}</extraJvmArgs>
</configuration>
<goals>
<goal>compile</goal>
@@ -91,4 +79,19 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>dev</id>
+ <activation>
+ <property>
+ <name>dev</name>
+ </property>
+ </activation>
+ <properties>
+ <gwt.permutationSuffix>Dev</gwt.permutationSuffix>
+ <gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
+ </properties>
+ </profile>
+ </profiles>
</project> \ No newline at end of file