diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-05-05 22:30:48 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-05-05 22:30:59 +0200 |
commit | daafbf948d5f1f2cd2fff4e729359ee2f63a3c07 (patch) | |
tree | 01724f1edbec3569bcb83dd168fdd9c102f5a5c0 | |
parent | 804816f9434ba22951a4965155df0837d21f5d22 (diff) | |
download | sonarqube-daafbf948d5f1f2cd2fff4e729359ee2f63a3c07.tar.gz sonarqube-daafbf948d5f1f2cd2fff4e729359ee2f63a3c07.zip |
Replace -Ddev by -Pdev to increase build duration
-rw-r--r-- | plugins/sonar-core-gwt/pom.xml | 15 | ||||
-rw-r--r-- | plugins/sonar-design-plugin/pom.xml | 17 | ||||
-rw-r--r-- | pom.xml | 10 | ||||
-rw-r--r-- | quick-build.bat | 2 | ||||
-rwxr-xr-x | quick-build.sh | 2 |
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 @@ -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 |