On Maven multi-module projects, some user analyse both the parent module and the sub-modules. This can lead to the following unexpected behavior :
- Non-support of parallel analysis :
- The measures available at parent module level in Sonar are no more synchronized with measures available in sub modules
When a user tries to convert a Sonar Maven project into a Sonar Maven module, the following error message must be thrown :
- The project 'xxxxx' is already defined in Sonar but not as a module of project 'yyyy'. If you really want stop directly analysing project 'xxxx', please first delete it from Sonar and then relaunch the analysis of project 'yyyyy'.