From 5ad384ad18cf82b8e867113061abf6a067e61a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=BCnger?= Date: Sun, 20 Sep 2026 10:45:45 +0200 Subject: [PATCH] Update description of "targetJdk" to be independent of JDK values. closes #734 --- src/main/java/org/apache/maven/plugins/pmd/PmdReport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java b/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java index bd5c2b3e..7188eea2 100644 --- a/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java +++ b/src/main/java/org/apache/maven/plugins/pmd/PmdReport.java @@ -64,8 +64,8 @@ public class PmdReport extends AbstractPmdReport { /** * The target JDK to analyze based on. Should match the source used in the compiler plugin. - * Valid values depend on the used PMD version. Most common values are - * 8, 11, 17, 21, and 25. + * Valid values depend on the used PMD version. + * Most common values are numbers which are equal to JDKs vendors offer LTS for. * *

The full list of supported Java versions for each PMD version is available at * Java support (PMD).