aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-05-05 22:30:48 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-05-05 22:30:59 +0200
commitdaafbf948d5f1f2cd2fff4e729359ee2f63a3c07 (patch)
tree01724f1edbec3569bcb83dd168fdd9c102f5a5c0
parent804816f9434ba22951a4965155df0837d21f5d22 (diff)
downloadsonarqube-daafbf948d5f1f2cd2fff4e729359ee2f63a3c07.tar.gz
sonarqube-daafbf948d5f1f2cd2fff4e729359ee2f63a3c07.zip
Replace -Ddev by -Pdev to increase build duration
-rw-r--r--plugins/sonar-core-gwt/pom.xml15
-rw-r--r--plugins/sonar-design-plugin/pom.xml17
-rw-r--r--pom.xml10
-rw-r--r--quick-build.bat2
-rwxr-xr-xquick-build.sh2
5 files changed, 8 insertions, 38 deletions
diff --git a/plugins/sonar-core-gwt/pom.xml b/plugins/sonar-core-gwt/pom.xml
index 09ea1321343..a55e9b7150d 100644
--- a/plugins/sonar-core-gwt/pom.xml
+++ b/plugins/sonar-core-gwt/pom.xml
@@ -76,19 +76,4 @@
</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
diff --git a/plugins/sonar-design-plugin/pom.xml b/plugins/sonar-design-plugin/pom.xml
index 3ee5968619b..949f76180b7 100644
--- a/plugins/sonar-design-plugin/pom.xml
+++ b/plugins/sonar-design-plugin/pom.xml
@@ -67,7 +67,7 @@
</configuration>
</plugin>
- <plugin>
+ <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<executions>
@@ -112,19 +112,4 @@
</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
diff --git a/pom.xml b/pom.xml
index 7b9dc56d466..2e1b798433e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -929,11 +929,11 @@
<profile>
<id>dev</id>
- <activation>
- <property>
- <name>dev</name>
- </property>
- </activation>
+ <properties>
+ <!-- used in sonar-core-gwt and sonar-design-plugin -->
+ <gwt.permutationSuffix>Dev</gwt.permutationSuffix>
+ <gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
+ </properties>
</profile>
<profile>
diff --git a/quick-build.bat b/quick-build.bat
index d83b5db5031..8330a14032b 100644
--- a/quick-build.bat
+++ b/quick-build.bat
@@ -1,2 +1,2 @@
set MAVEN_OPTS=-Xmx768m -XX:MaxPermSize=256m
-mvn clean install -Dtest=false -DfailIfNoTests=false -Ddev
+mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev
diff --git a/quick-build.sh b/quick-build.sh
index f0755770766..69158699406 100755
--- a/quick-build.sh
+++ b/quick-build.sh
@@ -9,4 +9,4 @@ echo ''
echo '-------------------------------------------------'
# it is recommended to use maven 3 for faster builds
-mvn clean install -Dtest=false -DfailIfNoTests=false -Ddev
+mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev