From 07e59b2203f627585a400bf2f0d0284c3d0a11a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20=C5=BBygie=C5=82o?= Date: Sun, 27 Oct 2019 20:40:40 +0100 Subject: [PATCH] (doc) Update references to PMD documentation Follow-up to https://github.com/pmd/pmd/commit/04b0859fb2 (pmd_releases/6.3.0-123-g04b0859fb2) --- src/main/resources/rulesets/java/maven-pmd-plugin-default.xml | 4 ++-- src/main/resources/rulesets/maven.xml | 2 +- src/site/apt/examples/multi-module-config.apt.vm | 2 +- src/site/apt/examples/usingRuleSets.apt.vm | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/rulesets/java/maven-pmd-plugin-default.xml b/src/main/resources/rulesets/java/maven-pmd-plugin-default.xml index 86bf7a2e..472cade9 100644 --- a/src/main/resources/rulesets/java/maven-pmd-plugin-default.xml +++ b/src/main/resources/rulesets/java/maven-pmd-plugin-default.xml @@ -29,7 +29,7 @@ under the License. This ruleset might be used as a starting point for an own customized ruleset [0]. - [0] https://pmd.github.io/latest/pmd_userdocs_understanding_rulesets.html + [0] https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html @@ -90,4 +90,4 @@ under the License. - \ No newline at end of file + diff --git a/src/main/resources/rulesets/maven.xml b/src/main/resources/rulesets/maven.xml index 706d8ee7..e37ca6a9 100644 --- a/src/main/resources/rulesets/maven.xml +++ b/src/main/resources/rulesets/maven.xml @@ -26,7 +26,7 @@ under the License. Customized PMD ruleset for Maven, see [0] for more information. This ruleset is references by org.apache.maven:maven-parent. - [0] https://pmd.github.io/latest/pmd_userdocs_understanding_rulesets.html + [0] https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html --> diff --git a/src/site/apt/examples/multi-module-config.apt.vm b/src/site/apt/examples/multi-module-config.apt.vm index 4856e169..1ab1a891 100644 --- a/src/site/apt/examples/multi-module-config.apt.vm +++ b/src/site/apt/examples/multi-module-config.apt.vm @@ -122,7 +122,7 @@ whizbang +-----+ The ruleset references some built-in rules. For more information about rulesets, see - {{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_understanding_rulesets.html}Understanding Rulesets}} + {{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_making_rulesets.html}Making Rulesets}} and {{{./usingRuleSets.html}Using Rule Sets}}. * Configure the other projects to use it diff --git a/src/site/apt/examples/usingRuleSets.apt.vm b/src/site/apt/examples/usingRuleSets.apt.vm index 7ac4e5f3..7aba4cbc 100644 --- a/src/site/apt/examples/usingRuleSets.apt.vm +++ b/src/site/apt/examples/usingRuleSets.apt.vm @@ -45,7 +45,7 @@ Using Rule Sets with the PMD tool, you do not need to specificy the absolute path of the file. It will be resolved by the plugin. But if the rule set is a custom rule set, you need to specify its absolute path. - See {{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_understanding_rulesets.html}Understanding Rulesets}} + See {{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_making_rulesets.html}Making Rulesets}} if you want to create your own custom ruleset. <> Starting with PMD 5.0 and Maven PMD Plugin 3.0 the paths to the @@ -151,4 +151,4 @@ The default ruleset -+-----+ \ No newline at end of file ++-----+