开发者

Any current workarounds to use Sonar for Java 7 code?

开发者 https://www.devze.com 2023-03-27 10:13 出处:网络
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.

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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号