OSDN Git Service

bump PMD to 6.50.0
authorOlyutorskii <olyutorskii@users.osdn.me>
Mon, 10 Oct 2022 07:12:16 +0000 (16:12 +0900)
committerOlyutorskii <olyutorskii@users.osdn.me>
Mon, 10 Oct 2022 07:12:16 +0000 (16:12 +0900)
config/pmd/pmdrules.xml
pom.xml

index 5dc58c6..783289b 100644 (file)
@@ -2,7 +2,7 @@
 
 <!--
     Custom rule set
-    for PMD [ https://pmd.github.io/ ] 6.21.0 or later
+    for PMD [ https://pmd.github.io/ ] 6.28.0 or later
 
     Copyright(c) 2019 olyutorskii
 -->
@@ -72,6 +72,7 @@
     <rule ref="category/java/documentation.xml/CommentSize" >
         <properties>
             <property name="maxLines" value="25"/>
+            <property name="maxLineLength" value="100"/>
         </properties>
     </rule>
 
diff --git a/pom.xml b/pom.xml
index 69f2b6b..f391db2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-shade-plugin</artifactId>
-                    <version>3.2.4</version>
+                    <version>3.4.0</version>
                 </plugin>
 
                 <plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-pmd-plugin</artifactId>
-                    <version>3.13.0</version>
+                    <version>3.19.0</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>net.sourceforge.pmd</groupId>
+                            <artifactId>pmd-core</artifactId>
+                            <version>6.50.0</version>
+                        </dependency>
+                        <dependency>
+                            <groupId>net.sourceforge.pmd</groupId>
+                            <artifactId>pmd-java</artifactId>
+                            <version>6.50.0</version>
+                        </dependency>
+                    </dependencies>
                 </plugin>
 
                 <plugin>