我想用sonarqube分析我的java项目,并在windows控制台中执行以下命令:
sonar-runner -Dproject.home=D:\integ
rated-accounting\com.datx.integratedAccounting.core但在execute命令后出现错误:
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发布于 2014-03-17 16:39:43
您必须在项目主目录中创建一个sonar-project.properties文件。参见http://docs.codehaus.org/display/SONAR/Analyzing+with+SonarQube+Runner。
https://stackoverflow.com/questions/22447884
复制相似问题