- Create a build definition with the goal :
For multi-module projects, make sure that the --non-recursive build definition argument is NOT set.
- Once created, run this build definition on the root pom of the projects you want to sonar.
- For multi-module projects, make sure to check For multi modules project, load only root as recursive build when you create the project through the Continuum maven 2 wizard
The simplest way is to install the Sonar plugin for Hudson.