Does Sonar support multiple language in same project?

前端 未结 3 475
半阙折子戏
半阙折子戏 2020-12-24 06:02

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

相关标签:
3条回答
  • 2020-12-24 06:15

    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.

    0 讨论(0)
  • 2020-12-24 06:26

    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

    0 讨论(0)
  • 2020-12-24 06:36

    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.

    0 讨论(0)
提交回复
热议问题