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-io.git
The following commit(s) were added to refs/heads/master by this push: new cb77242 Avoid maven-checkstyle-plugin warnings. cb77242 is described below commit cb77242d24ffeb1d5bc315ed7a55883aa3e03dfc Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Mon Feb 1 11:28:59 2021 -0500 Avoid maven-checkstyle-plugin warnings. [INFO] --- maven-checkstyle-plugin:3.1.2:check (default-cli) @ commons-io --- [WARNING] Old version of checkstyle detected. Consider updating to >= v8.30 [WARNING] For more information see: https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html --- pom.xml | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index f0f235b..f0eac8c 100644 --- a/pom.xml +++ b/pom.xml @@ -344,6 +344,22 @@ file comparators, endian transformation classes, and much more. </excludes> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>${checkstyle.plugin.version}</version> + <configuration> + <configLocation>${basedir}/checkstyle.xml</configLocation> + <enableRulesSummary>false</enableRulesSummary> + </configuration> + <dependencies> + <dependency> + <groupId>com.puppycrawl.tools</groupId> + <artifactId>checkstyle</artifactId> + <version>8.40</version> + </dependency> + </dependencies> + </plugin> </plugins> </pluginManagement> <plugins> @@ -421,11 +437,6 @@ file comparators, endian transformation classes, and much more. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>${checkstyle.plugin.version}</version> - <configuration> - <configLocation>${basedir}/checkstyle.xml</configLocation> - <enableRulesSummary>false</enableRulesSummary> - </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> @@ -475,11 +486,11 @@ file comparators, endian transformation classes, and much more. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>${checkstyle.plugin.version}</version> - <configuration> - <configLocation>${basedir}/checkstyle.xml</configLocation> - <enableRulesSummary>false</enableRulesSummary> - </configuration> +<!-- <version>${checkstyle.plugin.version}</version> --> +<!-- <configuration> --> +<!-- <configLocation>${basedir}/checkstyle.xml</configLocation> --> +<!-- <enableRulesSummary>false</enableRulesSummary> --> +<!-- </configuration> --> </plugin> <plugin> <groupId>com.github.spotbugs</groupId>