SonarQube Java version used to verify code(用于验证代码的 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 版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:用于验证代码的 SonarQube Java 版本
基础教程推荐
- 如何对 Java Hashmap 中的值求和 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- Struts2 URL 无法访问 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 存储 20 位数字的数据类型 2022-01-01
