Is sonar-project.properties file only for SonarQube Runner?

sonar-runner, sonarqube

Solution

It is only for SonarQube Runner. If you want to pass extra properties to maven you have to pass it on command line with `-D` prefix. Example: `mvn sonar:sonar -Dsonar.language=java`.

Problem

I've been asked to get SonarQube up and running, but we'll be using maven instead of SonarQube Runner. Is the sonar-project.properties configuration file only used for analysis with SonarQube Runner, or is it necessary for other analyzers, such as maven?

Original source