Browse Source

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.
tags/3.0
Evgeny Mandrikov 12 years ago
parent
commit
6a907c8f5d
3 changed files with 4 additions and 2 deletions
  1. 2
    0
      pom.xml
  2. 1
    1
      quick-build.bat
  3. 1
    1
      quick-build.sh

+ 2
- 0
pom.xml View File

@@ -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>

+ 1
- 1
quick-build.bat View File

@@ -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 %*

+ 1
- 1
quick-build.sh View File

@@ -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 $*

Loading…
Cancel
Save