title: Maven SonarQube multi module
body: <p>I have a project made up of several modules.</p>
  
  <p>I'm trying to analyse these with SonarQube.</p>
  
  <p>I've included the Sonar Maven plugin as a dependency in each module:</p>
  
  <pre><code>&lt;dependency&gt;
    &lt;groupId&gt;org.codehaus.sonar&lt;/groupId&gt;
    &lt;artifactId&gt;sonar-maven-plugin&lt;/artifactId&gt;
    &lt;version&gt;5.1&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Then I'm running Maven using:</p>
  
  <blockquote>
    <p>mvn clean verify sonar:sonar</p>
  </blockquote>
  
  <p>Maven completes successfully and I can see the Sonar analysis happening however when I open the Sonar UI, the modules aren't visible in projects.</p>
  
  <p>However...</p>
  
  <p>If I run the Maven command from an individual module directory, it is visible in projects.</p>
  
  <p>Feel I'm missing something very simple, appreciate any help!</p>