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 2025/11/24 15:29:34 UTC

(commons-pool) branch POOL_2_X updated (eb2a0c41 -> f727784a)

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

ggregory pushed a change to branch POOL_2_X
in repository https://gitbox.apache.org/repos/asf/commons-pool.git


    from eb2a0c41 Bump org.apache.commons:commons-parent from 81 to 93
     new e13fe9aa Bump CI from Java 24 to 25 and 25-ea to 26-ea
     new f727784a Bump commons-parent to 93

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven.yml                       |  4 ++--
 pom.xml                                           | 17 +++++++++++++++++
 src/conf/{checkstyle.xml => checkstyle-java8.xml} |  2 +-
 3 files changed, 20 insertions(+), 3 deletions(-)
 copy src/conf/{checkstyle.xml => checkstyle-java8.xml} (98%)


(commons-pool) 02/02: Bump commons-parent to 93

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f727784a0b35adaa4695858b6bb783b8e4174fbf
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 24 10:29:28 2025 -0500

    Bump commons-parent to 93
---
 pom.xml                       | 17 ++++++++
 src/conf/checkstyle-java8.xml | 99 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/pom.xml b/pom.xml
index 42bc166d..c45c77ce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -313,6 +313,23 @@
     </plugins>
   </reporting>
   <profiles>
+    <profile>
+      <id>java8</id>
+      <activation>
+        <jdk>1.8</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-checkstyle-plugin</artifactId>
+            <configuration>
+              <configLocation>src/conf/checkstyle-java8.xml</configLocation>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     <profile>
       <id>java16</id>
       <!-- For testing with CGLIB on Java 16 and up. -->
diff --git a/src/conf/checkstyle-java8.xml b/src/conf/checkstyle-java8.xml
new file mode 100644
index 00000000..d7e11366
--- /dev/null
+++ b/src/conf/checkstyle-java8.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+       https://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<!DOCTYPE module PUBLIC
+    "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
+    "https://checkstyle.org/dtds/configuration_1_3.dtd">
+
+<!--
+  Checkstyle checks configured for Maven.
+-->
+<module name="Checker">
+  <property name="localeLanguage" value="en" />
+  <module name="FileTabCharacter" />
+  <module name="JavadocPackage">
+    <property name="allowLegacy" value="true" />
+  </module>
+  <module name="LineLength">
+    <property name="max" value="160" />
+  </module>
+  <module name="NewlineAtEndOfFile">
+    <!-- Files are saved in the repository with LF line endings; on Windows, use git config core.autocrlf input -->
+    <property name="lineSeparator" value="lf" />
+  </module>
+  <module name="RegexpSingleline">
+    <property name="format" value="^\s+\*\s+@author\s" />
+    <property name="message" value="Deprecated @author tag" />
+    <property name="fileExtensions" value="java" />
+    <property name="severity" value="warning" />
+  </module>
+  <module name="RegexpSingleline">
+    <property name="format" value="\s+$" />
+    <property name="message" value="Line has trailing spaces." />
+  </module>
+  <module name="TreeWalker">
+    <module name="ArrayTypeStyle" />
+    <module name="AvoidStarImport" />
+    <module name="CovariantEquals" />
+    <module name="DefaultComesLast" />
+    <module name="EmptyBlock">
+      <property name="option" value="text" />
+    </module>
+    <module name="EqualsHashCode" />
+    <module name="ExplicitInitialization" />
+    <module name="FinalLocalVariable" />
+    <module name="IllegalInstantiation" />
+    <module name="ImportOrder">
+      <property name="option" value="top" />
+      <property name="groups" value="java,javax,org" />
+      <property name="ordered" value="true" />
+      <property name="separated" value="true" />
+    </module>
+    <module name="InterfaceIsType" />
+    <module name="JavadocType" />
+    <module name="JavadocMethod">
+    </module>
+    <module name="JavadocVariable">
+      <property name="scope" value="protected" />
+    </module>
+    <module name="LeftCurly" />
+    <module name="MethodParamPad"/>
+    <module name="MissingOverride" />
+    <module name="ModifierOrder" />
+    <module name="MultipleVariableDeclarations" />
+    <module name="NeedBraces" />
+    <module name="ParenPad" />
+    <module name="RedundantImport" />
+    <module name="RedundantModifier" />
+    <module name="RightCurly" />
+    <module name="SimplifyBooleanExpression" />
+    <module name="SimplifyBooleanReturn" />
+    <module name="StringLiteralEquality" />
+    <module name="SuperClone" /> 
+    <module name="SuperFinalize" />
+    <module name="TypecastParenPad" />
+    <module name="UnnecessaryParentheses" />
+    <module name="UnusedImports" />
+    <module name="UpperEll" />
+    <module name="VisibilityModifier">
+      <property name="packageAllowed" value="true" />
+      <property name="protectedAllowed" value="true" />
+    </module>
+    <module name="WhitespaceAfter" />
+    <module name="WhitespaceAround" />
+  </module>
+</module>


(commons-pool) 01/02: Bump CI from Java 24 to 25 and 25-ea to 26-ea

Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit e13fe9aa7e30ef313052d26e9753cd4f6a3206c5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Nov 24 09:53:58 2025 -0500

    Bump CI from Java 24 to 25 and 25-ea to 26-ea
---
 .github/workflows/maven.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c31cd885..9b5a0f74 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -31,10 +31,10 @@ jobs:
     continue-on-error: ${{ matrix.experimental }}
     strategy:
       matrix:
-        java: [ 8, 11, 17, 21, 24 ]
+        java: [ 8, 11, 17, 21, 25 ]
         experimental: [false]
         include:
-          - java: 25-ea
+          - java: 26-ea
             experimental: true
         
     steps: