]> source.dussan.org Git - sonarqube.git/commitdiff
Do not compile Java tests in quick-build.sh
authorKonda Reddy <841750+kondareddyr@users.noreply.github.com>
Fri, 17 Nov 2017 20:17:53 +0000 (14:17 -0600)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 17 Nov 2017 20:17:53 +0000 (21:17 +0100)
-DskipTests just skips the test execution: the tests are still compiled. Where as-Dmaven.test.skip will skip both compilation and execution of the tests.

quick-build.sh

index b53a26a27f0c36ee6340c839c71864a8dd6c90bc..8a0ab1cb71c2530c157dec1d27646899d3624448 100755 (executable)
@@ -41,4 +41,4 @@ $$$$"""$$$$$$$$$$uuu   uu$$$$$$$$$"""$$$"
 EOF
 
 ./stop.sh
-mvn clean install -B -e -V -DskipTests=true -Dmaven.source.skip=true -Pdev,skipSanityChecks $*
+mvn clean install -B -e -V -Dmaven.test.skip -Dmaven.source.skip=true -Pdev,skipSanityChecks $*