You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/12/15 16:19:23 UTC

[commons-logging] branch master updated: Migrate from maven-checkstyle-plugin from 2.7 to 3.1.1.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e96db5c  Migrate from maven-checkstyle-plugin from 2.7 to 3.1.1.
e96db5c is described below

commit e96db5cd090c48cf5a70a192d67f8ec8f4b8bbed
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Dec 15 11:19:18 2020 -0500

    Migrate from maven-checkstyle-plugin from 2.7 to 3.1.1.
---
 checkstyle.xml          | 8 ++++----
 pom.xml                 | 2 +-
 src/changes/changes.xml | 3 +++
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/checkstyle.xml b/checkstyle.xml
index cec133f..9ff36a6 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -56,14 +56,14 @@ limitations under the License.
     <property name="severity" value="warning" />
   </module>
 
+  <module name="LineLength">
+    <property name="max" value="120"/>
+  </module>
+
   <module name="TreeWalker">
-    <property name="cacheFile" value="target/cachefile" />
     <module name="OperatorWrap">
       <property name="option" value="eol" />
     </module>
-    <module name="LineLength">
-      <property name="max" value="120"/>
-    </module>
   </module>
 
 </module>
diff --git a/pom.xml b/pom.xml
index 750203e..5dd8fd3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -461,7 +461,7 @@ under the License.
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>2.7</version>
+        <version>3.1.1</version>
         <configuration>
           <configLocation>${basedir}/checkstyle.xml</configLocation>
           <enableRulesSummary>false</enableRulesSummary>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index dc1e6e6..8b1601a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -84,6 +84,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action dev="ggregory" type="update" due-to="Dependabot">
         Bump servlet-api from 2.3 to 2.5 #27.
       </action>
+      <action dev="ggregory" type="update" due-to="Gary Gregory">
+        Migrate from maven-checkstyle-plugin from 2.7 to 3.1.1.
+      </action>
     </release>
     <release version="1.2" date="2014-07-11" description="This is a maintenance release containing bug fixes. Java 1.2 or later is required.">
       <action issue="LOGGING-37" dev="tn" type="fix" due-to="Matthias Ernst,Archie Cobbs">