From 0aa88e82f5cd9562a628991d90d7f581e16501f7 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Thu, 12 Mar 2020 10:59:46 +0100 Subject: [PATCH] [doc] remove more language-ruleset style references --- docs/pages/pmd/userdocs/tools/ant.md | 22 ++++++++++++---------- docs/pages/pmd/userdocs/tools/maven.md | 5 ++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/docs/pages/pmd/userdocs/tools/ant.md b/docs/pages/pmd/userdocs/tools/ant.md index d22397e5dc..7f7c4ce14a 100644 --- a/docs/pages/pmd/userdocs/tools/ant.md +++ b/docs/pages/pmd/userdocs/tools/ant.md @@ -180,7 +180,7 @@ automatically and the latest language version is used. rulesets/java/quickstart.xml - java-basic + config/my-ruleset.xml @@ -261,7 +261,7 @@ Then, after the end of the PMD task, do this: Running one ruleset to produce a HTML report (and printing the report to the console as well) using a file cache - + @@ -274,7 +274,7 @@ Running one ruleset to produce a HTML report (and printing the report to the con Running multiple rulesets to produce an XML report with the same analysis cache - + @@ -297,7 +297,7 @@ need to be configured when defining the task: - + @@ -370,11 +370,13 @@ You can run pmd then with `ant pmd`. pmd: [pmd] Using the normal ClassLoader - [pmd] Using these rulesets: rulesets/java/imports.xml - [pmd] Using rule DontImportJavaLang - [pmd] Using rule UnusedImports - [pmd] Using rule ImportFromSamePackage - [pmd] Using rule DuplicateImports + [pmd] Using these rulesets: rulesets/java/quickstart.xml + [pmd] Using rule AvoidMessageDigestField + [pmd] Using rule AvoidStringBufferField + [pmd] Using rule AvoidUsingHardCodedIP + [pmd] Using rule CheckResultSet + [pmd] Using rule ConstantsInInterface + ... [pmd] Processing file /usr/local/java/src/java/lang/ref/Finalizer.java [pmd] Processing file /usr/local/java/src/java/lang/ref/FinalReference.java [pmd] Processing file /usr/local/java/src/java/lang/ref/PhantomReference.java @@ -394,7 +396,7 @@ An HTML report with the "linkPrefix" and "linePrefix" properties: - + diff --git a/docs/pages/pmd/userdocs/tools/maven.md b/docs/pages/pmd/userdocs/tools/maven.md index 2d07e1a07c..d6c6cb4e78 100644 --- a/docs/pages/pmd/userdocs/tools/maven.md +++ b/docs/pages/pmd/userdocs/tools/maven.md @@ -94,9 +94,8 @@ To specify a ruleset, simply edit the previous configuration: maven-pmd-plugin - /rulesets/java/braces.xml - /rulesets/java/naming.xml - d:\rulesets\strings.xml + /rulesets/java/quickstart.xml + d:\rulesets\my-ruleset.xml http://localhost/design.xml