Message-ID: <1872678905.1359.1419046905144.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1358_1260465959.1419046905143" ------=_Part_1358_1260465959.1419046905143 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
To take full advantage of SonarQube in Eclipse, it is recommended that y= our project be analyzed on a regular basis by SonarQube. Regular analysis a= llows the Eclipse plugin to distinguish between existing issues and any new= ones you introduced.
If your project is not already under analysis, you'll need to declare it through the SonarQube web= interface.
Once your project exists in SonarQube, you're ready to get started with = SonarQube in Eclipse.
Go to Window > Preferences > SonarQube > Servers.
SonarQube in Eclipse is pre-configured to access a local SonarQube serve= r listening on http://localhost:9000/. You can edit this server, delet= e it or add new ones.
The user you set to access the server has to be granted the Execute Preview Analysis permis=
Once the SonarQube server is defined, the next step is to link your Ecli= pse project with a project defined on this SonarQube server.
To do so, right-click on the project in the Project Explorer, and then Configure > Associate with SonarQube...= :
In the SonarQube project text field, start typing the n= ame of the project and select it in the list box:
Click on Finish. Your project is now associated to one =
analyzed on your SonarQube server.
At any time, it is possible to change the project association.
To do so, right-click on the project in the Project Explorer, and then SonarQube > Change Pr= oject Association...:
To do so, right-click on the project in the Project Explorer, and then SonarQube > Remove So= narQube Nature:
Additional settings (such as markers for new issues) are available throu= gh Window > Preferences &= gt; SonarQube:
You are now all set with configuration and you can start using SonarQube in Eclipse.