Any current workarounds to use Sonar for Java 7 code?
I try to use Sonar on a Java 7 project (which relies on new syntactic features) and the PMD part and the Checkstyle part fail to parse those files.
The Findbugs part fails to read Java 7 class files.
This causes Sonar to consider only 10% of my classes.
Can there be a workaround for this?
EDIT: There is an issue for Java 7 compatibi开发者_如何学JAVAlity. Please vote for this issue, so it will be fixed soon.
You could try to make findbugs dev build manually and put it into sonar. Not the easiest way.
svn checkout http://findbugs.googlecode.com/svn/trunk/findbugs
精彩评论