title: Sonarqube is not showing code coverage after running
body: <p>I'm running sonarqube with maven.</p>
  
  <p>I have installed it using following <a href="https://github.com/usnistgov/iheos-toolkit2/wiki/Installing-Sonarqube" rel="noreferrer">way</a>. 
  Using <code>brew</code>, I installed <code>mysql</code> and <code>sonar</code>.</p>
  
  <p>When I run I get 7 critical bugs but the code coverage for 88 tests is zero
  <a href="https://i.stack.imgur.com/fWm1N.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fWm1N.png" alt="Sonarqube analysis"></a></p>
  
  <p>When I run it with IntelliJ's tools, I get the following results. (not zero!)
  <a href="https://i.stack.imgur.com/F7giD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/F7giD.png" alt="IntelliJ analysis"></a></p>
  
  <p>This is when I check Jacoco results directly. In <code>$base_direc/target/jacoco/index.html</code><br>
  <a href="https://i.stack.imgur.com/cTi28.png" rel="noreferrer"><img src="https://i.stack.imgur.com/cTi28.png" alt="Jacoco results"></a></p>
  
  <p>The same code when run with sonar-scanner<a href="https://i.stack.imgur.com/Dz8n7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Dz8n7.png" alt="sonar-scanner"></a></p>
  
  <hr>
  
  <p>This is my maven configuration<br>
  <a href="https://i.stack.imgur.com/hYMPQ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hYMPQ.png" alt="maven configuration"></a></p>
  
  <p>My <code>~/.m2/settings.xml</code><br>
  <a href="https://i.stack.imgur.com/YfLgX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/YfLgX.png" alt="settings-pic1"></a><br>
  <a href="https://i.stack.imgur.com/W8Uae.png" rel="noreferrer"><img src="https://i.stack.imgur.com/W8Uae.png" alt="settings-pic2"></a></p>
  
  <hr>
  
  <p>Edit 1:
  I have found this in logs. <a href="https://i.stack.imgur.com/Z1iCS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Z1iCS.png" alt="Db not supported"></a></p>
  
  <hr>
  
  <p>Edit2:
  I have edited <code>~/.m2/settings.xml</code> 
  added </p>
  
  <pre><code>&lt;properties&gt;
      &lt;sonar.host.url&gt;http://localhost:9000/&lt;/sonar.host.url&gt;
  &lt;/properties&gt;
  </code></pre>
  
  <p>Edited <code>/usr/local/Cellar/sonarqube/6.3.1/libexec/conf/sonar.properties</code>
  added <code>sonar.host.url=http://localhost:9000/</code></p>
  
  <p>Edited <code>/usr/local/etc/sonar-scanner.properties</code> added - <code>sonar.host.url=http://localhost:9000/</code></p>
  
  <p>Ran the application in all above ways and the results were same, i.e, I could see Jacoco results but not in sonar.</p>
  
  <hr>
  
  <p>Is it possible that if bugs are found sonar refuses to do code coverage?!</p>