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 <[email protected]> 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>
