title: mvn sonar:sonar throws exception while doing Java AST scan
body: <p><strong>Please note :- My mvn clean install goes successful</strong>
  but when i do mvn sonar:sonar it throws me </p>
  
  <pre><code>[ERROR]  Squid Error occurs when analysing :/junk/test/src/main/java/API/com/API/HelloAPI.java
  org.sonar.squid.api.AnalysisException: The source directory does not correspond to the package declaration com.API
          at org.sonar.java.ast.visitor.PackageVisitor.checkPhysicalDirectory(PackageVisitor.java:93) [sonar-squid-java-plugin-2.8.jar:na]
          at org.sonar.java.ast.visitor.PackageVisitor.createSourcePackage(PackageVisitor.java:75) [sonar-squid-java-plugin-2.8.jar:na]
  </code></pre>
  
  <p><a href="http://sonar-dev.787459.n3.nabble.com/file/n3324837/squid-test.zip" rel="noreferrer">http://sonar-dev.787459.n3.nabble.com/file/n3324837/squid-test.zip</a></p>