You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2022/10/13 12:42:44 UTC

[commons-math] 10/23: Drop checkstyle 3.1.0 for 3.2.0 in commons parent

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

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

commit 070517388d5676966e79011724422b03bcfc448b
Author: aherbert <ah...@apache.org>
AuthorDate: Thu Oct 13 11:48:31 2022 +0100

    Drop checkstyle 3.1.0 for 3.2.0 in commons parent
    
    Update checkstyle dependency 8.29 for 9.3 in commons parent
    
    Remove checkstyle excludes for generated code.
---
 pom.xml | 17 -----------------
 1 file changed, 17 deletions(-)

diff --git a/pom.xml b/pom.xml
index c55214fb5..d9920f974 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,8 +61,6 @@
     <maven.compiler.target>1.8</maven.compiler.target>
     <math.pmd.version>3.14.0</math.pmd.version>
     <math.pmd.dep.version>6.37.0</math.pmd.dep.version>
-    <math.checkstyle.version>3.1.0</math.checkstyle.version>
-    <math.checkstyle.dep.version>8.29</math.checkstyle.dep.version>
     <math.mathjax.version>2.7.2</math.mathjax.version>
     <math.commons.numbers.version>1.1-SNAPSHOT</math.commons.numbers.version>
     <math.commons.rng.version>1.5</math.commons.rng.version>
@@ -319,13 +317,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>com.puppycrawl.tools</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>${math.checkstyle.dep.version}</version>
-          </dependency>
-        </dependencies>
         <configuration>
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
           <configLocation>${math.parent.dir}/src/main/resources/checkstyle/checkstyle.xml</configLocation>
@@ -338,7 +329,6 @@
           <logViolationsToConsole>true</logViolationsToConsole>
           <failOnViolation>true</failOnViolation>
           <resourceExcludes>NOTICE,LICENSE,**/*.properties</resourceExcludes>
-          <excludes>**/generated/**.java</excludes>
         </configuration>
         <executions>
           <execution>
@@ -470,11 +460,6 @@
     <pluginManagement>
 
       <plugins>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-checkstyle-plugin</artifactId>
-          <version>${math.checkstyle.version}</version>
-        </plugin>
 
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -535,14 +520,12 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>${math.checkstyle.version}</version>
         <configuration>
           <configLocation>${math.parent.dir}/src/main/resources/checkstyle/checkstyle.xml</configLocation>
           <headerLocation>${math.parent.dir}/src/main/resources/checkstyle/license-header.txt</headerLocation>
           <suppressionsLocation>${math.parent.dir}/src/main/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
           <enableRulesSummary>false</enableRulesSummary>
           <includeResources>false</includeResources>
-          <excludes>**/generated/**.java</excludes>
         </configuration>
         <reportSets>
           <reportSet>