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

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


The following commit(s) were added to refs/heads/1.x by this push:
     new 91a68408 Manage PMD plugin configuration
91a68408 is described below

commit 91a6840847593e2a568479e422de5450e2730f05
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon May 20 08:44:29 2024 -0400

    Manage PMD plugin configuration
---
 pom.xml | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3514c3c1..5378aacc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -356,6 +356,16 @@
             <enableRulesSummary>false</enableRulesSummary>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-pmd-plugin</artifactId>
+          <configuration>
+            <targetJdk>${maven.compiler.target}</targetJdk>
+            <rulesets>
+              <ruleset>${basedir}/src/checkstyle/fileupload_basic.xml</ruleset>
+            </rulesets>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -395,12 +405,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-pmd-plugin</artifactId>
-        <configuration>
-          <targetJdk>${maven.compiler.target}</targetJdk>
-          <rulesets>
-            <ruleset>${basedir}/src/checkstyle/fileupload_basic.xml</ruleset>
-          </rulesets>
-        </configuration>
       </plugin>
     </plugins>
   </reporting>

Reply via email to