Reputation: 23
i want to analysis my java project with sonarqube and execute this command in windows console:
sonar-runner -Dproject.home=D:\integ
rated-accounting\com.datx.integratedAccounting.core
but i have error after execute command:
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: You must define the following mandatory properties for 'Unknow
n': sonar.projectKey, sonar.projectName, sonar.projectVersion, sonar.sources
Upvotes: 1
Views: 1211
Reputation: 3983
You must create a sonar-project.properties file in your project home directory. See http://docs.codehaus.org/display/SONAR/Analyzing+with+SonarQube+Runner.
Upvotes: 1