From 74395c73ef2d46e0ea5868cd232f6f4d827e43d7 Mon Sep 17 00:00:00 2001 From: gustavo Date: Sun, 21 Aug 2016 23:40:21 +0200 Subject: [PATCH] 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 :( --- angularjs/showcase/sonar-project.properties | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.1.4