Sonar Error - Can not execute Sonar: You must install a plugin that supports the language ‘java’
在扫描项目时缺少扫描插件
检查路径 ${SONAR_HOME}/extensions/plugins 中是否有扫描插件
1. 有对应插件:则查看项目根路径 sonar-project.properties 配置文件
#must be unique in a given SonarQube instance
sonar.projectKey=ifc-handheld-webapp:scanner
#this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 5.1.2
sonar.projectName=ifc-handheld-webapp-scanner
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=.
#Encoding of the source code. Default