We are building a maven project with several modules and submodules in teamcity and we would like to use sonar as well. To send the analysis we use the SonarQube Runner build step, but it requires a list of modules to include. Our solution looks like this:
Module-A
Module-B
Sub-module-B1
Sub-module-B2
Sub-module-B3
Module-C
Sub-module-C1
I am able to use only the modules without sub-modules in the modules field in the TeamCity runner. The sub-modules Require some special format - how do I specify them? I tried to write there
Module-A,Module-B/Module-B1,...
But then it complains about the slash delimiter.
The best way was to use the maven goal sonar:sonar afterall.