summaryrefslogtreecommitdiffstats
path: root/plugins/sonar-design-plugin/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sonar-design-plugin/pom.xml')
-rw-r--r--plugins/sonar-design-plugin/pom.xml27
1 files changed, 21 insertions, 6 deletions
diff --git a/plugins/sonar-design-plugin/pom.xml b/plugins/sonar-design-plugin/pom.xml
index 8931965033e..d17bf9fc1ef 100644
--- a/plugins/sonar-design-plugin/pom.xml
+++ b/plugins/sonar-design-plugin/pom.xml
@@ -66,23 +66,23 @@
</configuration>
</plugin>
- <plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
<execution>
<configuration>
<modules>
- <module>org.sonar.plugins.design.ui.lcom4.Lcom4Tab</module>
- <module>org.sonar.plugins.design.ui.page.DesignPage</module>
- <module>org.sonar.plugins.design.ui.dependencies.DependenciesTab</module>
- <module>org.sonar.plugins.design.ui.libraries.LibrariesPage</module>
+ <module>org.sonar.plugins.design.ui.lcom4.Lcom4Tab${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.design.ui.page.DesignPage${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.design.ui.dependencies.DependenciesTab${gwt.permutationSuffix}</module>
+ <module>org.sonar.plugins.design.ui.libraries.LibrariesPage${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>${extraJvmArgs}</extraJvmArgs>
</configuration>
<goals>
<goal>compile</goal>
@@ -111,4 +111,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