Using SonarQube in Eclipse

后端 未结 2 1513
一生所求
一生所求 2020-12-29 03:42

I just installed SonarQube in Eclipse, but I don\'t know how to use it :

Here It said: Link projects to Sonar server

What is the server? Should we create an

相关标签:
2条回答
  • 2020-12-29 04:07

    To be able to use Sonar Eclipse, you first need to install a Sonar server 5.1 or older as described here: http://docs.sonarqube.org/display/SONAR/SonarQube+in+Eclipse

    Then, you will have to run a first analysis (out of Eclipse) of your project to have it referenced in the Sonar server. See http://docs.sonarqube.org/display/SONAR/Analyzing+Source+Code

    After those 2 steps, then you'll be able to run analyses directly within Eclipse once you have associated your local project with the Sonar server.

    UPDATE: Sonar 5.2+ is no longer supporting sonar eclipse plugin in favor of sonarlint. Unfortunately sonarlint has no customization options.

    We will make this feature available in upcoming versions, probably by requiring to "connect" SonarLint with an existing SonarQube server instance.

    0 讨论(0)
  • 2020-12-29 04:15

    Sonar can be run now localy to analyse the java project

    for more information visit sonar eclipse

    • Eclipse update site
    • Installation guide
    • Eclipse marketplace

    Also you can visit DZONE for step by step installation procedure

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