If for any reasons some classes are missing in the target/classes directory, I get the following exception :
This bug seems to be related to
MFINDBUGS-56 which is fixed in Maven Findbugs plugin version 2.0 (not yet released).
Here is a simple way to reproduce this bug :
- Compile a project
- Launch Sonar Maven plugin to check that all is ok
- Delete the same package directory in the source and target/classes directories
- Launch again Sonar Maven pluging and you should get the exception