aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2012-03-14 09:52:29 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2012-03-14 09:52:29 +0400
commit6a907c8f5d27996b47a642f0c5be69050aa01b99 (patch)
tree92021a74dca00be02b57cbc2c7bd22ccba22739a
parentea2bcfd9b0137fcff0e88404e9fa2cadbbfda6c6 (diff)
downloadsonarqube-6a907c8f5d27996b47a642f0c5be69050aa01b99.tar.gz
sonarqube-6a907c8f5d27996b47a642f0c5be69050aa01b99.zip
Skip sanity checks in dev profile
Move skip of sanity checks from quick-build scripts into dev profile. This is more convenient at least for users of Maven bash completion.
-rw-r--r--pom.xml2
-rw-r--r--quick-build.bat2
-rwxr-xr-xquick-build.sh2
3 files changed, 4 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 09c69da1587..ae4e34fae6e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1046,6 +1046,8 @@
<profile>
<id>dev</id>
<properties>
+ <skipSanityChecks>true</skipSanityChecks>
+
<!-- used in sonar-core-gwt and sonar-design-plugin -->
<gwt.permutationSuffix>Dev</gwt.permutationSuffix>
<gwt.extraJvmArgs>-Xmx512m -Xss1024k -Dgwt.draftCompile=true</gwt.extraJvmArgs>
diff --git a/quick-build.bat b/quick-build.bat
index 4e05c6e0420..d60c0688b92 100644
--- a/quick-build.bat
+++ b/quick-build.bat
@@ -1,2 +1,2 @@
set MAVEN_OPTS=-Xmx256m
-mvn clean install -Dtest=false -DfailIfNoTests=false -DskipSanityChecks=true -Pdev %*
+mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev %*
diff --git a/quick-build.sh b/quick-build.sh
index 55863096ecc..151afd04bce 100755
--- a/quick-build.sh
+++ b/quick-build.sh
@@ -12,4 +12,4 @@ echo ''
echo '-------------------------------------------------'
# it is recommended to use maven 3 for faster builds
-mvn clean install -Dtest=false -DfailIfNoTests=false -DskipSanityChecks=true -Pdev $*
+mvn clean install -Dtest=false -DfailIfNoTests=false -Pdev $*