sonar-scanner运行报错

非沧海一粟不随波逐流 发布于 2016/10/21 14:39
阅读 347
收藏 0

运行报错:首先说一下我的这是个maven项目,maven中也配置过了,在项目中也增加了sonar-project.properties

sonar-project.properties内容为:

# must be unique in a given SonarQube instance
sonar.projectKey=YL_WXXY_PeiHu
# this is the name displayed in the SonarQube UI
sonar.projectName=YL_WXXY_PeiHu
sonar.projectVersion=1.0
 
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set. 
# If not set, SonarQube starts looking for source code from the directory containing 
# the sonar-project.properties file.
sonar.sources=src
 
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8



加载中
返回顶部
顶部