ERROR: Error during SonarQube Scanner execution
ERROR: Can not execute Findbugs
ERROR: Caused by: One (sub)project contains Java source files that are not compiled (/home/gitlab-runner/builds/G5ijgmip/0/root/java).
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
这是因为findbugs检查的是classes文件,所以必须先对项目执行
mvn compile # 生成classes文件
不允许直接从数据库删除规则
报错如下:
ERROR: Unable to load component class org.sonar.scanner.report.MetadataPublisher
ERROR: Caused by: Unable to load component class org.sonar.scanner.rule.QualityProfiles