title: An API incompatibility was encountered while executing org.codehaus.mojo:sonar-maven-plugin:2.6:sonar
body: <p>changed the sonar version from <em>3.7</em> to <em>sonarqube 5.1.1</em>. and ran the build from jenkins getting Error</p>
  
  <blockquote>
    <p>Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project integration-client: Execution default-cli of goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar failed: An API incompatibility was encountered while executing org.codehaus.mojo:sonar-maven-plugin:2.6:sonar: java.lang.UnsupportedClassVersionError: org/sonar/api/utils/SonarException : Unsupported major.minor version 51.0</p>
  </blockquote>
  
  <p>i am using the <strong>java version 1.6</strong> and <strong>maven version 3.2.3</strong> </p>
  
  <p>previously with sonar 3.7 version it was working fine.</p>