Hi,
I am trying to analyse a Maven project with Findbugs, as follows:
mvn org.codehaus.mojo:findbugs-maven-plugin:2.3.1:findbugs
The build is successfull, but there is no trace of the analysis reports and I also get the following output:
[INFO] [findbugs:findbugs {execution: default-cli}]
[INFO] Locale is en
[java] BCEL class compatability error.
[java] The version of class org.apache.bcel.generic.ObjectType found was not compatible with
[java] FindBugs. Please remove any BCEL libraries that may be interfering. This may happen
[java] if you have an old version of BCEL or a library that includes an old version of BCEL
[java] in an "endorsed" directory.
[java] Java Result: 1
I scanned my entire computer and no BCEL jar in an endorsed dir I removed all BCEL jars I had (7 jars) and even in a BCEL clean system the problem happen.
Any idea?
Ronen.