To configure the settings for a project, it is necessary to connect as an administrator for this project (See Security).
Add a project
Adding a project to Sonar is not done through the web interface, but automatically when the project is analyzed.
Delete a project
You can suppress a project in Sonar by going to the projects settings.
It is possible to exclude resources from a project by going to settings. To exclude sources, you can use wildcard patterns. Example : */generated/ or */*Bean.java
To add links to your project, go to Settings.
Several plugins can be configured at project level to override Global settings for that project.
Add an event
In order to add an event, sign in, go to the project area and choose the component (project, module, package) you want to associate the event to :
Click add event
Enter the event name, the event date, the event category and an optional description. Click create to confirm.
Edit an event
In order to edit an event, sign in, go to the project area and choose the component (project, module, package) in which you want to edit an event :
Click on the edit button
Edit the information you want to change and click update to validate.
Remove an event
In order to remove an event, sign in, go to the project area and choose the component (project, module, package) in which you want to delete an event :
Click on the delete button and confirm.
Add manual measures
In order to add a manual measure to a project, sign in and go to the project page. At the bottom left of the page, you have the possibility to add a measure :
You are presented with a form allowing to enter a new manual measure:
Choose the metric to enter the measure against, the date the measure was taken, the measure value and optionally a summary and a link. Click on Submit to create the measure.
Updating a measure
In order to update the value of a measure, simply add the measure again with the new value. This will override the existing measure.
Deleting a measure
In order to delete a manual measure in a project, sign in and go to the project page. At the bottom left of the page, you have the existing measures :
Press the delete button and confirm suppression