Skip to content

Commit

Permalink
(doc) Update references to PMD documentation
Browse files Browse the repository at this point in the history
Follow-up to pmd/pmd@04b0859fb2
(pmd_releases/6.3.0-123-g04b0859fb2)
  • Loading branch information
pzygielo committed Oct 27, 2019
1 parent cecaefb commit 07e59b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/rulesets/java/maven-pmd-plugin-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
</description>

<rule ref="category/java/bestpractices.xml/AvoidUsingHardCodedIP" />
Expand Down Expand Up @@ -90,4 +90,4 @@ under the License.
<rule ref="category/java/performance.xml/BigIntegerInstantiation" />
<rule ref="category/java/performance.xml/BooleanInstantiation" />

</ruleset>
</ruleset>
2 changes: 1 addition & 1 deletion src/main/resources/rulesets/maven.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-->

<description>
Expand Down
2 changes: 1 addition & 1 deletion src/site/apt/examples/multi-module-config.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/site/apt/examples/usingRuleSets.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

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

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

0 comments on commit 07e59b2

Please sign in to comment.