title: SonarRunner can't find sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
body: <p>I am attempting to get Jenkins to run Sonar as a post-build step.</p>
  
  <p>Jenkins runs SonarRunner [1] but this fails with:</p>
  
  <pre><code>ERROR: Error during Sonar runner execution
  ERROR: Unable to execute Sonar
  ERROR: Caused by: You must define the following mandatory properties for 'Unknown': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
  </code></pre>
  
  <p>If I run <code>mvn sonar:sonar</code> [2] instead it works fine. It almost sounds like SonarRunner is ignoring pom.xml. <strong>How do I get SonarRunner to pick up these properties from Maven?</strong></p>
  
  <hr>
  
  <p>[1] <code>/Users/builds/.jenkins/tools/hudson.plugins.sonar.SonarRunnerInstallation/Default_Sonar_Runner/bin/sonar-runner -Dsonar.jdbc.url=jdbc:h2:tcp://myServer:1009/sonar -Dsonar.host.url=http://myServer/sonar/ -Dsonar.projectBaseDir=/Users/builds/.jenkins/workspace/myProject</code></p>
  
  <p>[2] <code>mvn sonar:sonar -Dsonar.jdbc.url=jdbc:h2:tcp://myServer:1009/sonar -Dsonar.host.url=http://myServer/sonar/ -Dsonar.projectBaseDir=/Users/builds/.jenkins/workspace/myProject</code></p>