[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [commons-fileupload] 03/04: Fix PMD for site build
From:       markt () apache ! org
Date:       2023-01-31 17:44:58
Message-ID: 20230131174455.97E3C4401D1 () gitbox2-he-fi ! apache ! org
[Download RAW message or body]

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 1.x
in repository https://gitbox.apache.org/repos/asf/commons-fileupload.git

commit 582ceef391d700daeccea489c6752a0e4a72e677
Author: Mark Thomas <markt@apache.org>
AuthorDate: Tue Jan 31 17:29:19 2023 +0000

    Fix PMD for site build
---
 pom.xml                             | 1 -
 src/checkstyle/fileupload_basic.xml | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1465859..260a2c9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -395,7 +395,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-pmd-plugin</artifactId>
-        <version>2.7.1</version>
         <configuration>
           <targetJdk>${maven.compiler.target}</targetJdk>
           <rulesets>
diff --git a/src/checkstyle/fileupload_basic.xml b/src/checkstyle/fileupload_basic.xml
index 6338018..e4f2260 100644
--- a/src/checkstyle/fileupload_basic.xml
+++ b/src/checkstyle/fileupload_basic.xml
@@ -19,7 +19,7 @@
 <ruleset name="FileUpload Basic Rules">
   <description>PMD Basic Ruleset minus the EmptyCatchBlock rule.</description>
 
-  <rule ref="rulesets/basic.xml">
+  <rule ref="category/java/errorprone.xml">
     <exclude name="EmptyCatchBlock"/>
   </rule>
 </ruleset>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic