From aa188878e1ff1430983e7e394bd0f9cbba7d63d0 Mon Sep 17 00:00:00 2001 From: Holger Friedrich Date: Fri, 1 Mar 2024 08:59:43 +0100 Subject: [PATCH] Upgrade PMD to 7.0.0-rc4 Add support for Java 21. https://docs.pmd-code.org/pmd-doc-7.0.0-rc4/pmd_release_notes.html Signed-off-by: Holger Friedrich --- .../pmd/src/test/resources/pmd/ruleset/customrules.xml | 2 +- pom.xml | 2 +- .../main/java/org/openhab/tools/analysis/tools/PmdChecker.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom-checks/pmd/src/test/resources/pmd/ruleset/customrules.xml b/custom-checks/pmd/src/test/resources/pmd/ruleset/customrules.xml index b8b9a6a2..8262b254 100644 --- a/custom-checks/pmd/src/test/resources/pmd/ruleset/customrules.xml +++ b/custom-checks/pmd/src/test/resources/pmd/ruleset/customrules.xml @@ -1,5 +1,5 @@ Rule set that contains custom defined rules regarding the .classpath files - + diff --git a/pom.xml b/pom.xml index b5af0a60..f1e63ac2 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 3.12.0 4.10.0 3.3.0 - 6.53.0 + 7.0.0-rc4 10.6.0 4.7.3 3.6.0 diff --git a/sat-plugin/src/main/java/org/openhab/tools/analysis/tools/PmdChecker.java b/sat-plugin/src/main/java/org/openhab/tools/analysis/tools/PmdChecker.java index 0a337e70..243bdb8a 100644 --- a/sat-plugin/src/main/java/org/openhab/tools/analysis/tools/PmdChecker.java +++ b/sat-plugin/src/main/java/org/openhab/tools/analysis/tools/PmdChecker.java @@ -60,7 +60,7 @@ public class PmdChecker extends AbstractChecker { /** * The version of the maven-pmd-plugin that will be used */ - @Parameter(property = "maven.pmd.version", defaultValue = "3.20.0") + @Parameter(property = "maven.pmd.version", defaultValue = "3.21.2") private String mavenPmdVersion; /**