diff --git a/docs/maven-plugin.md b/docs/maven-plugin.md index c2af63c6..24000412 100644 --- a/docs/maven-plugin.md +++ b/docs/maven-plugin.md @@ -87,7 +87,7 @@ Parameters: | ------ | ------| -------- | | **pmdRuleset** | String | Relative path of the XML configuration to use. If not set the default ruleset file will be used | | **pmdFilter** | String | Relative path of a suppression.properties file that lists classes and rules to be excluded from failures. If not set no classes and no rules will be excluded | -| **maven.pmd.version** | String | The version of the maven-pmd-plugin that will be used (Default value is **3.24.0**)| +| **maven.pmd.version** | String | The version of the maven-pmd-plugin that will be used (Default value is **3.26.0**)| | **pmdPlugins** | List | A list with artifacts that contain additional checks for PMD | ### sat-plugin:checkstyle diff --git a/pom.xml b/pom.xml index 362235d7..b672e26a 100644 --- a/pom.xml +++ b/pom.xml @@ -66,7 +66,7 @@ 3.12.0 4.10.0 3.3.0 - 7.4.0 + 7.8.0 10.17.0 4.8.6 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 cf21ea2c..a893c2ac 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.24.0") + @Parameter(property = "maven.pmd.version", defaultValue = "3.26.0") private String mavenPmdVersion; /** @@ -69,7 +69,7 @@ public class PmdChecker extends AbstractChecker { @Parameter private List pmdPlugins = new ArrayList<>(); - private static final String PMD_VERSION = "7.4.0"; + private static final String PMD_VERSION = "7.8.0"; /** * Location of the properties files that contains configuration options for the maven-pmd-plugin */