声纳抱怨“;SonarQube分析已在进行中”;
我试图通过Maven运行声纳分析,但它不断抱怨:声纳抱怨“;SonarQube分析已在进行中”;,sonarqube,Sonarqube,我试图通过Maven运行声纳分析,但它不断抱怨: [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project mio-commons: Another SonarQube analysis is already in progress for this project -> [Help 1] [ERROR] [ERROR] To see t
[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.7.1:sonar (default-cli) on project mio-commons: Another SonarQube analysis is already in progress for this project -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
没有对这个正在进行的项目进行分析,我甚至尝试从Sonar中删除这个项目本身。有什么想法吗?我想我解决了这个问题,删除了
${basedir}/.sonar
文件夹。对我来说,删除${projectDir}/.scannerwork
修复了这个问题
linux上的命令:
$ <your project directory>
$ rm -rf .scannerwork
$
$rm-射频扫描设备
我使用的是sonarqube 7.0版和sonar scanner 3.0.3.778版缓存目录显示在控制台日志中。删除它对我很有效。 对我来说,这是在
C:\Users\<username>\.sonar\cache
C:\Users\\.sonar\cache
您可以添加更多详细信息吗?什么样的版本?你运行了哪个命令?这种情况是发生在其他项目中还是只发生在这一个项目中?不幸的是,删除~/.sonar/cache
和.scannerwork
没有帮助。你还有其他想法吗?我还杀死了所有java.exe进程。