[main] [INFO] Sensor FindBugs Sensor
[main] [INFO] Execute Findbugs 3.0.1...
[main] [WARNING] 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 project.
[main] [INFO] Found findbugs plugin: /home/user/some/path/project/test-module/target/sonar/findbugs/findsecbugs-plugin.jar
[main] [INFO] Findbugs output report: /home/user/some/path/project/test-module/target/sonar/findbugs-result.xml
[main] [INFO] ------------------------------------------------------------------------
[main] [INFO] BUILD FAILURE
[main] [INFO] ------------------------------------------------------------------------
[main] [INFO] Total time: 13.547 s
[main] [INFO] Finished at: 2016-07-08T11:21:59+02:00
[main] [INFO] Final Memory: 82M/1104M
[main] [INFO] ------------------------------------------------------------------------
[main] [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.0.1:sonar (default-cli) on project test-module: Can not execute Findbugs: java.lang.RuntimeException: java.io.IOException: No files to analyze could be opened -> [Help 1]
[main] [INFO] Sensor org.sonar.plugins.findbugs.FindbugsSensor
11:25:27.147 [main] WARN o.s.plugins.findbugs.FindbugsSensor - 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 project.
[main] [INFO] Sensor org.sonar.plugins.findbugs.FindbugsSensor (done) | time=5ms
Has any one had similar observations ?
Also is the below correct with respect to the change in findbugs execution behavior ?
sonar-findbugs-plugin-3.2 analyzes only java class files which have matching java sources
sonar-findbugs-plugin-3.4.3 analyzes all java class files even if java sources are not at all matching
Note -
The "matching" which i have referred above is that, source will point to A.java and binaries will be having A.class
The "not matching" which i have referred above is that, source will point to A.java and binaries will not have A.class
--
You received this message because you are subscribed to a topic in the Google Groups "SonarQube" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sonarqube/iB6d12tiKR0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/303fcaed-a080-467f-ab26-605dafb262f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.