From f7901987b39569734de1fd639a8e11bb54322127 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Fri, 26 Apr 2024 02:03:12 -0700 Subject: [PATCH] Cleaned up the PMD documenaation URLs --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b71b6d..abff8aa 100755 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ To install, please refer to the [extensions documentation](https://github.com/rife2/bld/wiki/Extensions). -To check all source code using the [Java Quickstart](https://pmd.github.io/pmd/pmd_rules_java.html) configuration, add the following to your build file: +To check all source code using the [Java Quickstart](https://docs.pmd-code.org/latest/pmd_rules_java.html) configuration, add the following to your build file: ```java @BuildCommand(summary = "Checks source code with PMD") @@ -25,7 +25,7 @@ public void pmd() throws Exception { ./bld pmd test ``` -To check the main source directory using a custom ruleset, [Java Error Prone](https://pmd.github.io/pmd/pmd_rules_java.html#error-prone) configuration, and failing on any violation. +To check the main source directory using a custom ruleset, [Java Error Prone](https://docs.pmd-code.org/latest/pmd_rules_java.html#error-prone) configuration, and failing on any violation. ```java @BuildCommand(value = "pmd-main", summary = "Checks main source code with PMD") @@ -33,7 +33,7 @@ public void pmdMain() throws Exception { new PmdOperation() .fromProject(this) .failOnViolation(true) - .inputPaths(this.srcMainDirectory().toPath()) + .inputPaths(srcMainDirectory().toPath()) .ruleSets("config/pmd.xml", "category/java/errorprone.xml") .execute(); }