Set Sonar Servers
Sonar Eclipse is pre-configured to access local Sonar server listening on http://localhost:9000/. To use another address, you first need to define this server by using the Eclipse global Preferences window:

Link Projects to Sonar Servers
Once Sonar server is defined, the next step is to "link" eclipse projects with projects defined and analysed in Sonar server(s). This linkage operation can be done by right-clicking on the the project into the "Package explorer", and then by choosing "Configure -> Associate with Sonar...":


You are now all set with configuration and can start using Sonar Eclipse.
In some cases the eclipse project may not be automatically associated to a Sonar project. If that happens, you need to manually enter the groupId and the artifactId of the Sonar project. |
Unlink a Project from Sonar Server
This operation can be done by right-clicking on the the project into the "Package explorer", and then by choosing "Configure -> Remove Sonar Nature":


