WARN: Findbugs needs sources to be compiled. Please build project before executing sonar or check the location of compiled classes to make it possible for Findbugs to analyse your (sub)project

ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Can not execute Findbugs
	at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:188)
	at org.sonar.plugins.findbugs.FindbugsSensor.execute(FindbugsSensor.java:114)

Findbugs要求您的源代码已编译。 如果你按照Sonar文档 ,这是你应该做的:

mvn clean install -DskipTests=true
mvn sonar:sonar

 

posted @ 2022-11-01 18:26  我只吃大碗  阅读(212)  评论(0编辑  收藏  举报