To configure the settings for a project, it is necessary to connect as an administrator on this project (See Security).
Adding a Project
Adding a project to Sonar is not done through the web interface, but automatically when the project is analyzed for the first time.
Deleting a Project
You can delete a project in Sonar by clicking on Project Deletion in the left menu.
Updating Project Key
Since Sonar 3.2, the project key can be updated through Update Key in the left menu:
It is possible to exclude resources from a project by clicking on Exclusions in the left menu.
To exclude sources, you can use wildcard patterns. Example : **/*Bean.java to exclude all classed ending with the Bean word.
To add links to your project, click on Links in the left menu.
They are two types of links:
Those links are retrieved from the projet POM:
- Home: <url>
- Continuous integration: <ciManagement><url>
- Issue tracker: <issueManagement><url>
- Sources: <scm><url>
- Developer connection: <scm><developerConnection>
They can be displayed on a:
They can not be modified through the web interface.
Any link can be added trough the web interface.
Those links can be displayed on a dashboard by adding the Description widget.
Several plugins can be configured at project level to override Global Settings for that project.
On your project, click on Settings in the left menu.