SonarQube Java版本用于验证代码 [英] SonarQube Java version used to verify code

查看:486
本文介绍了SonarQube Java版本用于验证代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何知道哪个版本的Java SonarQube验证代码?
它是JVM的版本吗?那么如果我的项目基于不同的版本呢?

How can I know against which version of Java SonarQube validates the code? Is it the version of the JVM? What then if my project is based on a different version?

推荐答案

我确认使用了这个属性sonar.java.source只有PMD工具。 SonarSource的Java分析器使用超集语法,因此可以分析源文件,而不管它们遵循的Java版本。

I do confirm that this property sonar.java.source is used only by the PMD tool. The SonarSource's Java analyser uses a superset grammar and so can analyse source files regardless of the Java version they comply to.

这篇关于SonarQube Java版本用于验证代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆