title: SonarQube "Class Not Found" during Main AST Scan
body: <p>My setup:</p>
  
  <ul>
  <li>Sonarqube 5.1.1</li>
  <li>Sonar-Maven Plugin 2.6 (also tried 2.7 and 3.6)</li>
  <li>JDK 1.7.0_51</li>
  </ul>
  
  <p>Example of the error:</p>
  
  <pre><code>16:00:54 [INFO] [23:00:54.219] Sensor JavaSquidSensor
  16:00:55 [INFO] [23:00:55.030] Java Main Files AST scan...
  16:00:55 [INFO] [23:00:55.030] 1532 source files to be analyzed
  16:00:58 [ERROR] [23:00:57.927] Class not found: javax.annotation.Nullable
  16:00:58 [ERROR] [23:00:57.928] Class not found: javax.annotation.CheckReturnValue
  16:00:58 [ERROR] [23:00:58.114] Class not found: javax.annotation.Nullable
  </code></pre>
  
  <p>According to this <a href="https://stackoverflow.com/questions/22589302/where-is-javax-annotation">stackoverflow question</a>, javax.annotation should be part of java 1.7 and up.  Furthermore, I've tried putting it in the local maven repository but that didnt help.  </p>
  
  <p>So where is Sonar trying to find this package?  Any help?!?  </p>
  
  <p><strong>Update:</strong></p>
  
  <ul>
  <li>I've tried modifying the sonar-maven-plugin to include a dependency on javax.annotation </li>
  <li>I've tried putting the dependency in my maven's settings.xml</li>
  <li>Upgrading my JDK to 1.8 has not helped.</li>
  </ul>