[doc] Fix links to making rulesets

This commit is contained in:
Andreas Dangel
2018-12-20 18:53:47 +01:00
parent 7cde3ffef9
commit dfd5b7b886
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ Then, run rules, that detect empty `if` statements and such-like. You can find t
After that, look at all the categories and select the rules, that are useful for your project.
You can find an overview of the rules on the [Rule Index](pmd_rules_java.html).
Use the rules you like [via a custom ruleset](pmd_userdocs_understanding_rulesets.html).
Use the rules you like [via a custom ruleset](pmd_userdocs_making_rulesets.html).
## PMD rules are not set in stone

View File

@ -109,7 +109,7 @@ The value of the 'ruleset' element can either be a relative address, an absolute
A clean strategy for customizing which rules to use for a project is to write a ruleset file.
In this file you can define which rules to use, add custom rules, and
customizing which rules to include/exclude from official rulesets. More information on
writing a ruleset can be found [here](pmd_userdocs_understanding_rulesets.html).
writing a ruleset can be found [here](pmd_userdocs_making_rulesets.html).
Note that if you include other rulesets in your own rulesets, you have to be sure that the plugin
will be able to resolve those other ruleset references.
@ -236,7 +236,7 @@ To specify a set of official, built-in rulesets to be used set them in the prope
A clean strategy for customizing which rules to use for a project is to write a ruleset file.
In this file you can define which rules to use, add custom rules, and
customizing which rules to include/exclude from official rulesets. More information on
writing a ruleset can be found [here](/pmd_userdocs_understanding_rulesets.html).
writing a ruleset can be found [here](pmd_userdocs_making_rulesets.html).
Add to the root of your Maven project a pmd.xml file which contains the ruleset mentioned in
the previous paragraph. Add the following property to your project now: