Code Coverage not populated after sonar analysis
<p>I am using sonarqube5.6.1.</p>

<p>I have a multi module project for which i am running sonar analysis using the below command.</p>

<pre><code>mvn org.sonarsource.scanner.maven:sonar-maven-plugin:3.1.1:sonar -Dsonar.host.url=http://bamboo.in.XXX.com:8085 -Dsonar.analysis.mode=publish -Dsonar.issuesReport.html.enable=true -Dsonar.dynamicAnalysis=false
</code></pre>

<p>But code coverage is not getting populated at all.</p>

<p>Can some one help. I could see the below warnings, Not sure if that's the reason.</p>

<pre><code>[INFO] Process project properties
[WARNING] /!\ A multi-module project can't have source folders, so '/ssdd5/sameenud/dev/trunk/AAAA/BBBB/CCCC/DDDD/src/main/java' won't be used for the analysis. If you want to analyse files of this folder, you should create another sub-module and move them inside it.
</code></pre>

<p>The folder structure we have is as below,</p>

<pre><code>AAAA
   --BBBB
       pom.xml
       ---CCCC
          pom.xml
          ---DDDD
             pom.xml
</code></pre>

<p>I tried compiling it manual, But no luck, Same problem.</p>