We are using Sonar 5.5 and we have a number of js files in 'resource' folder in a maven structured application. This is not a web application so there is no 'webapp' folder. The js files are bundled in an executable jar file using Spring boot.
I searched everywhere and based on the following link, Sonar already supports multi-language:
Does Sonar support multiple language in same project?
However, it doesn't work in our application. It doesn't seem any special configuration for that to happen.
I made a comment on the above link a while ago but haven't got any answer. I suspect, js files are detected by Sonar only if they are located in 'webapp' folder. I can't find any documentation on this.
We are using maven sonar plugin to analyze the project:
mvn sonar:sonar
Plugins and versions installed:
Git 2.1
C# 5.0
Java 3.13.1
Javascript 2.11