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-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new e3f5263  Add maven-checkstyle-plugin to pluginManagement.
e3f5263 is described below

commit e3f526324a55860640ccd90a65f504bb3ff7dd3f
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Feb 1 11:55:04 2021 -0500

    Add maven-checkstyle-plugin to pluginManagement.
    
    Use configurable version overrides per
    
https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html
---
 pom.xml                 | 13 +++++++++++++
 src/changes/changes.xml |  1 +
 2 files changed, 14 insertions(+)

diff --git a/pom.xml b/pom.xml
index bf89b2f..565d95f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -123,6 +123,7 @@
     <commons.build-plugin.version>1.12</commons.build-plugin.version>
     <commons.changes.version>2.12.1</commons.changes.version>
     
<commons.checkstyle-plugin.version>3.1.2</commons.checkstyle-plugin.version>
+    <commons.checkstyle.version>8.40</commons.checkstyle.version>
     <commons.clirr.version>2.8</commons.clirr.version>
     <commons.cobertura.version>2.7</commons.cobertura.version>
     <commons.compiler.version>3.8.1</commons.compiler.version>
@@ -749,6 +750,18 @@
             </dependency>
           </dependencies>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-checkstyle-plugin</artifactId>
+          <version>${commons.checkstyle-plugin.version}</version>
+          <dependencies>
+            <dependency>
+              <groupId>com.puppycrawl.tools</groupId>
+              <artifactId>checkstyle</artifactId>
+              <version>${commons.checkstyle.version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c9df30c..6540ef7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -63,6 +63,7 @@ The <action> type attribute can be add,update,fix,remove.
 
         <release version="53" date="YYYY-MM-DD" description="TBD">
           <action type="add" dev="ggregory">Add versions-maven-plugin run for 
this build.</action>
+          <action type="add" dev="ggregory">Add maven-checkstyle-plugin to 
pluginManagement.</action>
           <!-- UPDATES -->
           <action type="update" dev="ggregory">Update versions-maven-plugin 
2.7 -> 2.8.1.</action>
           <action type="update" dev="ggregory" due-to="Dependabot">Update 
maven-project-info-reports-plugin from 3.1.0 to 3.1.1 #19.</action>

Reply via email to