Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 07e59b2

Browse files
committed
(doc) Update references to PMD documentation
Follow-up to pmd/pmd@04b0859fb2 (pmd_releases/6.3.0-123-g04b0859fb2)
1 parent cecaefb commit 07e59b2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/main/resources/rulesets/java/maven-pmd-plugin-default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ under the License.
2929

3030
This ruleset might be used as a starting point for an own customized ruleset [0].
3131

32-
[0] https://pmd.github.io/latest/pmd_userdocs_understanding_rulesets.html
32+
[0] https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html
3333
</description>
3434

3535
<rule ref="category/java/bestpractices.xml/AvoidUsingHardCodedIP" />
@@ -90,4 +90,4 @@ under the License.
9090
<rule ref="category/java/performance.xml/BigIntegerInstantiation" />
9191
<rule ref="category/java/performance.xml/BooleanInstantiation" />
9292

93-
</ruleset>
93+
</ruleset>

src/main/resources/rulesets/maven.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ under the License.
2626
Customized PMD ruleset for Maven, see [0] for more information.
2727
This ruleset is references by org.apache.maven:maven-parent.
2828
29-
[0] https://pmd.github.io/latest/pmd_userdocs_understanding_rulesets.html
29+
[0] https://pmd.github.io/latest/pmd_userdocs_making_rulesets.html
3030
-->
3131

3232
<description>

src/site/apt/examples/multi-module-config.apt.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ whizbang
122122
+-----+
123123

124124
The ruleset references some built-in rules. For more information about rulesets, see
125-
{{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_understanding_rulesets.html}Understanding Rulesets}}
125+
{{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_making_rulesets.html}Making Rulesets}}
126126
and {{{./usingRuleSets.html}Using Rule Sets}}.
127127

128128
* Configure the other projects to use it

src/site/apt/examples/usingRuleSets.apt.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Using Rule Sets
4545
with the PMD tool, you do not need to specificy the absolute path of the file. It will be resolved by
4646
the plugin. But if the rule set is a custom rule set, you need to specify its absolute path.
4747

48-
See {{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_understanding_rulesets.html}Understanding Rulesets}}
48+
See {{{https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_making_rulesets.html}Making Rulesets}}
4949
if you want to create your own custom ruleset.
5050

5151
<<Note:>> Starting with PMD 5.0 and Maven PMD Plugin 3.0 the paths to the
@@ -151,4 +151,4 @@ The default ruleset
151151

152152
<rule ref="category/java/performance.xml/BigIntegerInstantiation" />
153153
<rule ref="category/java/performance.xml/BooleanInstantiation" />
154-
+-----+
154+
+-----+

0 commit comments

Comments
 (0)