You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix supported java versions from 21 up to 24-preview [#499](https://github.com/jborgers/sonar-pmd/pull/499)
14
+
* Removed all junit tests, they have been moved or removed in PMD7 [#502](https://github.com/jborgers/sonar-pmd/pull/502)
15
+
16
+
**Limitations**
17
+
* Not all PMD 7 rules are made available in Sonar, yet, see [#495](https://github.com/jborgers/sonar-pmd/issues/495), [#498](https://github.com/jborgers/sonar-pmd/issues/498)
Copy file name to clipboardExpand all lines: README.md
+9-11Lines changed: 9 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Usage should be straight forward:
20
20
2. Run an analysis.
21
21
22
22
### PMD version
23
-
Sonar PMD plugin version 4.0.0 supports PMD 7 which is incompatible with PMD 6: the reason for a major release.
23
+
Sonar PMD plugin version 4.0+ supports PMD 7 which is incompatible with PMD 6: the reason for a major release.
24
24
Use version 4.0+ for child plugins with custom rules written in PMD 7, such as [sonar-pmd-jpinpoint 2.0.0](https://github.com/jborgers/sonar-pmd-jpinpoint/releases/tag/2.0.0).
25
25
26
26
@@ -31,21 +31,19 @@ In case you are not using one of these build tools, or if that does not match th
(*1) Note: Plugin version 3.4.x runs in SonarQube 8.9, however, Java 17+ is only fully supported in SonarQube 9.3+.
42
-
(*2) Note: Supports all tested Java 21 features; on parsing errors, warns instead of breaks
42
+
(*2) Note: Supports all tested Java 21 features; on parsing errors, warns instead of breaks.
43
+
(*3) Note: Does not support Java 20-preview nor Java 21.
43
44
44
45
A majority of the PMD rules have been rewritten in the Sonar Java plugin. Rewritten rules are marked "Deprecated" in the PMD plugin.
45
46
46
-
## Rules on test
47
-
PMD tool provides some rules that can check the code of JUnit tests. Please note that these rules (and only these rules) will be applied only on the test files of your project.
48
-
49
47
## License
50
48
Sonar-PMD is licensed under the [GNU Lesser General Public License, Version 3.0](https://github.com/jborgers/sonar-pmd/blob/master/LICENSE.md).
0 commit comments