I am playing around with the ready to use Sonarqube Version 6.2 and sonar scanner with a sonar-project.properties file based on the tutorial @ https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner .
I am curious about the exclusions. I am still using the embedded databases (not a full install), and I have gone to Administration>Configuration>Exclusions and set the following converage exclusions - **/*.js , and **/target/**.
However when I run the project through sonar scanner the JS files are still being analyzed.
I saw on another page in an archive that there is a properties file parameter sonar.exclusions.
Question: Does sonar respect the general settings > Analysis scope when analyzing through the scanner or should I use the project properties file?
What is the proper approach?