title: Sonarqube invalid value for java binaries
body: <p>I'm trying to upload my project to a remote sonarqube server.</p>
  
  <p>This is the command I run sonar scanner: </p>
  
  <pre><code>sonar-scanner -Dsonar.projectKey=my-project -Dsonar.host.url=https://xxxx:9000 -Dsonar.login=the-secret-key  -Dsonar.java.binaries=**/target/classes
  </code></pre>
  
  <p>but it throws the error on java.binaries.</p>
  
  <pre><code>INFO: Configured Java source version (sonar.java.source): 
  none
  INFO: JavaClasspath initialization
  ERROR: Invalid value for sonar.java.binaries
  INFO: ------------------------------------------------------ 
  INFO: EXECUTION FAILURE
  INFO: ------------------------------------------------------ 
  INFO: Total time: 20.276s
  INFO: Final Memory: 10M/161M
  INFO: ------------------------------------------------------ 
  ------------------
  ERROR: Error during SonarQube Scanner execution
  No files nor directories matching **/target/classes
  </code></pre>
  
  <p>I tried different values like ./target, /target/, /target/classes (where the jar is being stored). However, I am encountering this error of not found. (even though the directory exists)</p>
  
  <p>By running sonar:sonar on my IDE and maven sonar:sonar on my terminal would send over the result to sonarqube, but my goal is to include this command in my jet-steps </p>