I am setting up Sonar
for one of my projects which is a mix of Groovy
and Java
. I am able to configure the project separately for eith
Until https://jira.sonarsource.com/browse/SONAR-926 is implemented you can use the combination of sonar.branch and sonar.language properties to analyze separately the project languages and have two different projects in your dashboard.
UPDATE April 14th, 2014:
Starting with SonarQube 4.2, multi-language projects are supported.
This automatically happens when sonar.language
is not set.
See my sample project here: https://github.com/bellingard/multi-language-project
If you are using Sonar version 3.4. Then I have written a new maven plugin to help you with multiple language code analysis.
It is still beta
https://code.google.com/p/sonar-multilang-maven-plugin/wiki/UserGuide
If you have any issues with this tool then do let me know on that project website.