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-pool.git
The following commit(s) were added to refs/heads/master by this push:
new e065c88 Update Checkstyle plugin from 3.0.0 to 3.1.1.
e065c88 is described below
commit e065c8883c9944b906e77c93f78ec97e90b6c128
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jul 26 10:16:24 2020 -0400
Update Checkstyle plugin from 3.0.0 to 3.1.1.
- Still 0 checkstyle violations.
- Future suppressions can be placed in their own file.
- Set maven-bundle-plugin version to allow building Java 15.
---
checkstyle.xml | 16 ----------------
pom.xml | 5 ++++-
src/changes/changes.xml | 3 +++
3 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/checkstyle.xml b/checkstyle.xml
index e68b6bb..38f8e23 100644
--- a/checkstyle.xml
+++ b/checkstyle.xml
@@ -45,8 +45,6 @@
<!-- Require method javadocs, allow undeclared RTE -->
<module name="JavadocMethod">
- <property name="allowUndeclaredRTE" value="true"/>
- <property name="allowMissingThrowsTags" value="true"/>
</module>
<!-- Require field javadoc -->
@@ -68,9 +66,6 @@
<property name="classes" value="java.lang.Boolean, java.lang.String"/>
</module>
- <!-- Required for SuppressionCommentFilter below -->
- <module name="FileContentsHolder"/>
-
</module>
<!-- Require package Javadoc -->
@@ -79,15 +74,4 @@
<property name="allowLegacy" value="true"/>
</module>
- <!-- Setup special comments to suppress specific checks from source files -->
- <module name="SuppressionCommentFilter">
- <property name="offCommentFormat" value="CHECKSTYLE\: stop all checks"/>
- <property name="onCommentFormat" value="CHECKSTYLE\: resume checking"/>
- </module>
- <module name="SuppressionCommentFilter">
- <property name="offCommentFormat" value="CHECKSTYLE\: stop
VisibilityModifier"/>
- <property name="onCommentFormat" value="CHECKSTYLE\: resume
VisibilityModifier"/>
- <property name="checkFormat" value="VisibilityModifier"/>
- </module>
-
</module>
diff --git a/pom.xml b/pom.xml
index dfa25ab..5f500f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,6 +180,8 @@
<commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
<commons.osgi.import>net.sf.cglib.proxy;resolution:=optional,*</commons.osgi.import>
<commons.animal-sniffer.version>1.16</commons.animal-sniffer.version>
+
<commons.checkstyle-plugin.version>3.1.1</commons.checkstyle-plugin.version>
+ <commons.felix.version>5.1.1</commons.felix.version>
<!-- Commons Release Plugin -->
<commons.bc.version>2.7.0</commons.bc.version>
@@ -199,6 +201,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
+ <version>${commons.felix.version}</version>
<dependencies>
<dependency>
<groupId>biz.aQute.bnd</groupId>
@@ -232,7 +235,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>3.0.0</version>
+ <version>${commons.checkstyle-plugin.version}</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 706bdcf..d08bda7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -71,6 +71,9 @@ The <action> type attribute can be add,update,fix,remove.
<action dev="ggregory" type="update" due-to="Dependabot">
Update commons-parent from 50 to 51 #36.
</action>
+ <action dev="ggregory" type="update" due-to="Gary Gregory">
+ Update Checkstyle plugin from 3.0.0 to 3.1.1.
+ </action>
</release>
<release version="2.8.0" date="2019-12-05" description="This is a
maintenance release (Java 8).">
<action dev="ggregory" issue="POOL-374" type="fix" due-to="Gary Gregory,
Phil Steitz">