From: gustavo Date: Sun, 21 Aug 2016 21:40:21 +0000 (+0200) Subject: SonarQube autodects languages since 4.1 version. X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=74395c73ef2d46e0ea5868cd232f6f4d827e43d7;p=JavaScriptForFun SonarQube autodects languages since 4.1 version. No need of using sonar.language property anymore :) Besides this property does not admit more than one language :( --- diff --git a/angularjs/showcase/sonar-project.properties b/angularjs/showcase/sonar-project.properties index 82f3114..8e18f12 100644 --- a/angularjs/showcase/sonar-project.properties +++ b/angularjs/showcase/sonar-project.properties @@ -9,7 +9,11 @@ sonar.host.url=http://192.168.1.33:9091/sonarqube sonar.sources=src/showcase/app/ # Language -sonar.language=js +# My project has HTML and JavaScript. Comma separated languages do not work. +# However since SonarQube 4.2 we do not need to declare the project's languages. +# SonarQube detects by itself what languages is using the project to be analyzed!! +# See: http://stackoverflow.com/a/13625963 +#sonar.language=js THIS OPTION IS NOT REQUIRED ANYMORE :) # Encoding of sources files sonar.sourceEncoding=UTF-8