Reputation: 3407
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 either of these languages but not together. Is there any way to do this? I tried this
sonar.language = java,grvy
but didnt work
Upvotes: 46
Views: 47388
Reputation: 1663
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.
Upvotes: 0
Reputation: 26843
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
Upvotes: 54
Reputation: 21
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.
Upvotes: 2