- 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
Do not create a job using the experimental 'Build a maven2 project (beta)'. It is not compatible because both Hudson and Sonar use maven embedder. You should use 'Build a free-style software project' instead.