Skip to content

Commit 8ec3063

Browse files
committed
release 4.0.1
1 parent 1fc499b commit 8ec3063

File tree

2 files changed

+24
-14
lines changed

2 files changed

+24
-14
lines changed

CHANGELOG.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
# Changelog
22

33
<!--
4-
## [4.0.1-SNAPSHOT](https://github.com/jborgers/sonar-pmd/tree/4.0.1-SNAPSHOT) (2025-xx-xx)
5-
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/4.0.0..master)
4+
## [4.0.2-SNAPSHOT](https://github.com/jborgers/sonar-pmd/tree/4.0.2-SNAPSHOT) (2025-xx-xx)
5+
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/4.0.1..master)
66
7-
**Implemented highlights:**
7+
**Implemented highlights**
88
-->
9+
## [4.0.1](https://github.com/jborgers/sonar-pmd/tree/4.0.1) (2025-03-03)
10+
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/4.0.0..4.0.1)
11+
12+
**Implemented highlights**
13+
* 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)
18+
19+
**Contributors**
20+
* [Markus](https://github.com/meisenla)
921

1022
## [4.0.0](https://github.com/jborgers/sonar-pmd/tree/4.0.0) (2025-02-24)
1123
[Full Changelog](https://github.com/jborgers/sonar-pmd/compare/3.5.1..4.0.0)

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Usage should be straight forward:
2020
2. Run an analysis.
2121

2222
### 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.
2424
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).
2525

2626

@@ -31,21 +31,19 @@ In case you are not using one of these build tools, or if that does not match th
3131
Possible values : 8 to 24 and 24-preview
3232

3333
## Table of supported versions
34-
| Sonar-PMD Plugin | 3.4.0 | 3.5.0 | 3.5.1 | 4.0.0 |
35-
|------------------------|-----------------|---------------|---------------|------------|
36-
| PMD | 6.45.0 | 6.55.0 | 6.55.0 | 7.10.0 |
37-
| Max. Java Version | 18 | 20-preview *2 | 20-preview *2 | 24-preview |
38-
| Min. SonarQube Version | _8.9(*1)_ / 9.3 | 9.8 | 9.9.4 | 9.9.4 |
39-
| Max. SonarQube Version | 9.9 | 10.4 | 10.5+ | 10.8+ |
34+
| Sonar-PMD Plugin | 3.4.0 | 3.5.0 | 3.5.1 | 4.0.0 | 4.0.1 |
35+
|------------------------|-----------------|-----------------|-----------------|---------|------------|
36+
| PMD | 6.45.0 | 6.55.0 | 6.55.0 | 7.10.0 | 7.10.0 |
37+
| Max. Java Version | 18 | 20-preview (*2) | 20-preview (*2) | 20 (*3) | 24-preview |
38+
| Min. SonarQube Version | _8.9(*1)_ / 9.3 | 9.8 | 9.9.4 | 9.9.4 | 9.9.4 |
39+
| Max. SonarQube Version | 9.9 | 10.4 | 10.5+ | 10.8+ | 10.8+ |
4040

4141
(*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.
4344

4445
A majority of the PMD rules have been rewritten in the Sonar Java plugin. Rewritten rules are marked "Deprecated" in the PMD plugin.
4546

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-
4947
## License
5048
Sonar-PMD is licensed under the [GNU Lesser General Public License, Version 3.0](https://github.com/jborgers/sonar-pmd/blob/master/LICENSE.md).
5149

0 commit comments

Comments
 (0)