Skip to content

Commit f8d7bed

Browse files
committed
Prepare for the next release candidate
1 parent 227fce2 commit f8d7bed

File tree

9 files changed

+140
-129
lines changed

9 files changed

+140
-129
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(the "License"); you may not use this file except in compliance with
77
the License. You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -41,28 +41,27 @@
4141
Contributing to Apache Commons Pool
4242
======================
4343

44-
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
45-
the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
46-
follow so that we can have a chance of keeping on top of things.
44+
Have you found a bug or have an idea for a cool new feature? Contributing code is a great way to give something back to the open-source community.
45+
Before you dig right into the code, we need contributors to follow a few guidelines to have a chance of keeping on top of things.
4746

4847
Getting Started
4948
---------------
5049

5150
+ Make sure you have a [JIRA account](https://issues.apache.org/jira/).
52-
+ Make sure you have a [GitHub account](https://github.com/signup/free).
51+
+ Make sure you have a [GitHub account](https://github.com/signup/free). This is not essential, but makes providing patches much easier.
5352
+ If you're planning to implement a new feature it makes sense to discuss your changes on the [dev list](https://commons.apache.org/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Commons Pool's scope.
5453
+ Submit a [Jira Ticket][jira] for your issue, assuming one does not already exist.
5554
+ Clearly describe the issue including steps to reproduce when it is a bug.
5655
+ Make sure you fill in the earliest version that you know has the issue.
5756
+ Find the corresponding [repository on GitHub](https://github.com/apache/?query=commons-),
58-
[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository.
57+
[fork](https://help.github.com/articles/fork-a-repo/) and check out your forked repository. If you don't have a GitHub account, you can still clone the Commons repository.
5958

6059
Making Changes
6160
--------------
6261

6362
+ Create a _topic branch_ for your isolated work.
6463
* Usually you should base your branch on the `master` branch.
65-
* A good topic branch name can be the JIRA bug id plus a keyword, e.g. `POOL-123-InputStream`.
64+
* A good topic branch name can be the JIRA bug ID plus a keyword, e.g. `POOL-123-InputStream`.
6665
* If you have submitted multiple JIRA issues, try to maintain separate branches and pull requests.
6766
+ Make commits of logical units.
6867
* Make sure your commit messages are meaningful and in the proper format. Your commit message should contain the key of the JIRA issue.
@@ -72,7 +71,7 @@ Making Changes
7271
+ Create minimal diffs - disable _On Save_ actions like _Reformat Source Code_ or _Organize Imports_. If you feel the source code should be reformatted create a separate PR for this change first.
7372
+ Check for unnecessary whitespace with `git diff` -- check before committing.
7473
+ Make sure you have added the necessary tests for your changes, typically in `src/test/java`.
75-
+ Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
74+
+ Run all the tests with `mvn clean verify` to ensure nothing else was accidentally broken.
7675

7776
Making Trivial Changes
7877
----------------------
@@ -109,7 +108,6 @@ Additional Resources
109108
+ [General GitHub documentation](https://help.github.com/)
110109
+ [GitHub pull request documentation](https://help.github.com/articles/creating-a-pull-request/)
111110
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
112-
+ `#apache-commons` IRC channel on `irc.freenode.net`
113111

114112
[cla]:https://www.apache.org/licenses/#clas
115113
[jira]:https://issues.apache.org/jira/browse/POOL

README.md

Lines changed: 22 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
(the "License"); you may not use this file except in compliance with
77
the License. You may obtain a copy of the License at
88
9-
http://www.apache.org/licenses/LICENSE-2.0
9+
https://www.apache.org/licenses/LICENSE-2.0
1010
1111
Unless required by applicable law or agreed to in writing, software
1212
distributed under the License is distributed on an "AS IS" BASIS,
@@ -43,10 +43,10 @@
4343
Apache Commons Pool
4444
===================
4545

46-
[![GitHub Actions Status](https://github.com/apache/commons-pool/workflows/Java%20CI/badge.svg)](https://github.com/apache/commons-pool/actions)
46+
[![Java CI](https://github.com/apache/commons-pool/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-pool/actions/workflows/maven.yml)
4747
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-pool2?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-pool2)
48-
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-pool2/2.12.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-pool2/2.12.0)
49-
[![CodeQL](https://github.com/apache/commons-pool/workflows/CodeQL/badge.svg)](https://github.com/apache/commons-pool/actions/workflows/codeql-analysis.yml?query=workflow%3ACodeQL)
48+
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-pool2/2.12.1.svg)](https://javadoc.io/doc/org.apache.commons/commons-pool2/2.12.1)
49+
[![CodeQL](https://github.com/apache/commons-pool/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-pool/actions/workflows/codeql-analysis.yml)
5050
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-pool/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-pool)
5151

5252
The Apache Commons Object Pooling Library.
@@ -58,27 +58,35 @@ More information can be found on the [Apache Commons Pool homepage](https://comm
5858
The [Javadoc](https://commons.apache.org/proper/commons-pool/apidocs) can be browsed.
5959
Questions related to the usage of Apache Commons Pool should be posted to the [user mailing list](https://commons.apache.org/mail-lists.html).
6060

61-
Where can I get the latest release?
62-
-----------------------------------
61+
Getting the latest release
62+
--------------------------
6363
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-pool/download_pool.cgi).
6464

65-
Alternatively, you can pull it from the central Maven repositories:
65+
Alternatively, you can pull it from the central Maven repositories:
6666

6767
```xml
6868
<dependency>
6969
<groupId>org.apache.commons</groupId>
7070
<artifactId>commons-pool2</artifactId>
71-
<version>2.12.0</version>
71+
<version>2.12.1</version>
7272
</dependency>
7373
```
7474

75+
Building
76+
--------
77+
78+
Building requires a Java JDK and [Apache Maven](https://maven.apache.org/).
79+
The required Java version is found in the `pom.xml` as the `maven.compiler.source` property.
80+
81+
From a command shell, run `mvn` without arguments to invoke the default Maven goal to run all tests and checks.
82+
7583
Contributing
7684
------------
7785

7886
We accept Pull Requests via GitHub. The [developer mailing list](https://commons.apache.org/mail-lists.html) is the main channel of communication for contributors.
7987
There are some guidelines which will make applying PRs easier for us:
8088
+ No tabs! Please use spaces for indentation.
81-
+ Respect the code style.
89+
+ Respect the existing code style for each file.
8290
+ Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change.
8391
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
8492
+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
@@ -89,13 +97,13 @@ You can learn more about contributing via GitHub in our [contribution guidelines
8997

9098
License
9199
-------
92-
This code is under the [Apache Licence v2](https://www.apache.org/licenses/LICENSE-2.0).
100+
This code is licensed under the [Apache License v2](https://www.apache.org/licenses/LICENSE-2.0).
93101

94102
See the `NOTICE.txt` file for required notices and attributions.
95103

96-
Donations
97-
---------
98-
You like Apache Commons Pool? Then [donate back to the ASF](https://www.apache.org/foundation/contributing.html) to support the development.
104+
Donating
105+
--------
106+
You like Apache Commons Pool? Then [donate back to the ASF](https://www.apache.org/foundation/contributing.html) to support development.
99107

100108
Additional Resources
101109
--------------------
@@ -104,59 +112,8 @@ Additional Resources
104112
+ [Apache Issue Tracker (JIRA)](https://issues.apache.org/jira/browse/POOL)
105113
+ [Apache Commons Slack Channel](https://the-asf.slack.com/archives/C60NVB8AD)
106114
+ [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
107-
+ `#apache-commons` IRC channel on `irc.freenode.org`
108115

109116
Apache Commons Components
110117
-------------------------
111118

112-
| Component | GitHub Repository | Apache Homepage |
113-
| --------- | ----------------- | ----------------|
114-
| Apache Commons BCEL | [commons-bcel](https://github.com/apache/commons-bcel) | [commons-bcel](https://commons.apache.org/proper/commons-bcel) |
115-
| Apache Commons Beanutils | [commons-beanutils](https://github.com/apache/commons-beanutils) | [commons-beanutils](https://commons.apache.org/proper/commons-beanutils) |
116-
| Apache Commons BSF | [commons-bsf](https://github.com/apache/commons-bsf) | [commons-bsf](https://commons.apache.org/proper/commons-bsf) |
117-
| Apache Commons Build-plugin | [commons-build-plugin](https://github.com/apache/commons-build-plugin) | [commons-build-plugin](https://commons.apache.org/proper/commons-build-plugin) |
118-
| Apache Commons Chain | [commons-chain](https://github.com/apache/commons-chain) | [commons-chain](https://commons.apache.org/proper/commons-chain) |
119-
| Apache Commons CLI | [commons-cli](https://github.com/apache/commons-cli) | [commons-cli](https://commons.apache.org/proper/commons-cli) |
120-
| Apache Commons Codec | [commons-codec](https://github.com/apache/commons-codec) | [commons-codec](https://commons.apache.org/proper/commons-codec) |
121-
| Apache Commons Collections | [commons-collections](https://github.com/apache/commons-collections) | [commons-collections](https://commons.apache.org/proper/commons-collections) |
122-
| Apache Commons Compress | [commons-compress](https://github.com/apache/commons-compress) | [commons-compress](https://commons.apache.org/proper/commons-compress) |
123-
| Apache Commons Configuration | [commons-configuration](https://github.com/apache/commons-configuration) | [commons-configuration](https://commons.apache.org/proper/commons-configuration) |
124-
| Apache Commons Crypto | [commons-crypto](https://github.com/apache/commons-crypto) | [commons-crypto](https://commons.apache.org/proper/commons-crypto) |
125-
| Apache Commons CSV | [commons-csv](https://github.com/apache/commons-csv) | [commons-csv](https://commons.apache.org/proper/commons-csv) |
126-
| Apache Commons Daemon | [commons-daemon](https://github.com/apache/commons-daemon) | [commons-daemon](https://commons.apache.org/proper/commons-daemon) |
127-
| Apache Commons DBCP | [commons-dbcp](https://github.com/apache/commons-dbcp) | [commons-dbcp](https://commons.apache.org/proper/commons-dbcp) |
128-
| Apache Commons Dbutils | [commons-dbutils](https://github.com/apache/commons-dbutils) | [commons-dbutils](https://commons.apache.org/proper/commons-dbutils) |
129-
| Apache Commons Digester | [commons-digester](https://github.com/apache/commons-digester) | [commons-digester](https://commons.apache.org/proper/commons-digester) |
130-
| Apache Commons Email | [commons-email](https://github.com/apache/commons-email) | [commons-email](https://commons.apache.org/proper/commons-email) |
131-
| Apache Commons Exec | [commons-exec](https://github.com/apache/commons-exec) | [commons-exec](https://commons.apache.org/proper/commons-exec) |
132-
| Apache Commons Fileupload | [commons-fileupload](https://github.com/apache/commons-fileupload) | [commons-fileupload](https://commons.apache.org/proper/commons-fileupload) |
133-
| Apache Commons Functor | [commons-functor](https://github.com/apache/commons-functor) | [commons-functor](https://commons.apache.org/proper/commons-functor) |
134-
| Apache Commons Geometry | [commons-geometry](https://github.com/apache/commons-geometry) | [commons-geometry](https://commons.apache.org/proper/commons-geometry) |
135-
| Apache Commons Graph | [commons-graph](https://github.com/apache/commons-graph) | [commons-graph](https://commons.apache.org/proper/commons-graph) |
136-
| Apache Commons Imaging | [commons-imaging](https://github.com/apache/commons-imaging) | [commons-imaging](https://commons.apache.org/proper/commons-imaging) |
137-
| Apache Commons IO | [commons-io](https://github.com/apache/commons-io) | [commons-io](https://commons.apache.org/proper/commons-io) |
138-
| Apache Commons JCI | [commons-jci](https://github.com/apache/commons-jci) | [commons-jci](https://commons.apache.org/proper/commons-jci) |
139-
| Apache Commons JCS | [commons-jcs](https://github.com/apache/commons-jcs) | [commons-jcs](https://commons.apache.org/proper/commons-jcs) |
140-
| Apache Commons Jelly | [commons-jelly](https://github.com/apache/commons-jelly) | [commons-jelly](https://commons.apache.org/proper/commons-jelly) |
141-
| Apache Commons Jexl | [commons-jexl](https://github.com/apache/commons-jexl) | [commons-jexl](https://commons.apache.org/proper/commons-jexl) |
142-
| Apache Commons Jxpath | [commons-jxpath](https://github.com/apache/commons-jxpath) | [commons-jxpath](https://commons.apache.org/proper/commons-jxpath) |
143-
| Apache Commons Lang | [commons-lang](https://github.com/apache/commons-lang) | [commons-lang](https://commons.apache.org/proper/commons-lang) |
144-
| Apache Commons Logging | [commons-logging](https://github.com/apache/commons-logging) | [commons-logging](https://commons.apache.org/proper/commons-logging) |
145-
| Apache Commons Math | [commons-math](https://github.com/apache/commons-math) | [commons-math](https://commons.apache.org/proper/commons-math) |
146-
| Apache Commons Net | [commons-net](https://github.com/apache/commons-net) | [commons-net](https://commons.apache.org/proper/commons-net) |
147-
| Apache Commons Numbers | [commons-numbers](https://github.com/apache/commons-numbers) | [commons-numbers](https://commons.apache.org/proper/commons-numbers) |
148-
| Apache Commons Parent | [commons-parent](https://github.com/apache/commons-parent) | [commons-parent](https://commons.apache.org/proper/commons-parent) |
149-
| Apache Commons Pool | [commons-pool](https://github.com/apache/commons-pool) | [commons-pool](https://commons.apache.org/proper/commons-pool) |
150-
| Apache Commons Proxy | [commons-proxy](https://github.com/apache/commons-proxy) | [commons-proxy](https://commons.apache.org/proper/commons-proxy) |
151-
| Apache Commons RDF | [commons-rdf](https://github.com/apache/commons-rdf) | [commons-rdf](https://commons.apache.org/proper/commons-rdf) |
152-
| Apache Commons Release-plugin | [commons-release-plugin](https://github.com/apache/commons-release-plugin) | [commons-release-plugin](https://commons.apache.org/proper/commons-release-plugin) |
153-
| Apache Commons Rng | [commons-rng](https://github.com/apache/commons-rng) | [commons-rng](https://commons.apache.org/proper/commons-rng) |
154-
| Apache Commons Scxml | [commons-scxml](https://github.com/apache/commons-scxml) | [commons-scxml](https://commons.apache.org/proper/commons-scxml) |
155-
| Apache Commons Signing | [commons-signing](https://github.com/apache/commons-signing) | [commons-signing](https://commons.apache.org/proper/commons-signing) |
156-
| Apache Commons Skin | [commons-skin](https://github.com/apache/commons-skin) | [commons-skin](https://commons.apache.org/proper/commons-skin) |
157-
| Apache Commons Statistics | [commons-statistics](https://github.com/apache/commons-statistics) | [commons-statistics](https://commons.apache.org/proper/commons-statistics) |
158-
| Apache Commons Testing | [commons-testing](https://github.com/apache/commons-testing) | [commons-testing](https://commons.apache.org/proper/commons-testing) |
159-
| Apache Commons Text | [commons-text](https://github.com/apache/commons-text) | [commons-text](https://commons.apache.org/proper/commons-text) |
160-
| Apache Commons Validator | [commons-validator](https://github.com/apache/commons-validator) | [commons-validator](https://commons.apache.org/proper/commons-validator) |
161-
| Apache Commons VFS | [commons-vfs](https://github.com/apache/commons-vfs) | [commons-vfs](https://commons.apache.org/proper/commons-vfs) |
162-
| Apache Commons Weaver | [commons-weaver](https://github.com/apache/commons-weaver) | [commons-weaver](https://commons.apache.org/proper/commons-weaver) |
119+
Please see the [list of components](https://commons.apache.org/components.html)

RELEASE-NOTES.txt

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
Apache Commons Pool 2.12.1 Release Notes
2+
----------------------------------------
3+
4+
The Apache Commons Pool team is pleased to announce the release of Apache Commons Pool 2.12.1.
5+
6+
Apache Commons Pool provides an object-pooling API and a number of object pool implementations.
7+
Version 2 contains a completely re-written pooling implementation compared to the 1.x series.
8+
In addition to performance and scalability improvements, version 2 includes robust instance
9+
tracking and pool monitoring.
10+
11+
Version 2.7.x and up requires Java 8 or above.
12+
Version 2.6.x requires Java 7 or above.
13+
Version 2.5.x requires Java 7 or above.
14+
Version 2.0 requires 6 or above.
15+
16+
NOTE: The MBean interfaces (DefaultPooledObjectInfoMBean, GenericKeyedObjectPoolMXBean
17+
and GenericKeyedObjectPoolMXBean) exist only to define the attributes and methods
18+
that will be made available via JMX. They must not be implemented by clients as
19+
they are subject to change between major, minor and patch version releases of
20+
Commons Pool. Clients that implement any of these interfaces may not, therefore,
21+
be able to upgrade to a new minor or patch release without requiring code
22+
changes.
23+
24+
${d}
25+
26+
Changes in version 2.12.1 include:
27+
28+
29+
Fixed Bugs:
30+
o Use java.time.Instant precision in org.apache.commons.pool2.impl.ThrowableCallStack.Snapshot throwable message. Thanks to Gary Gregory.
31+
o GenericObjectPool.borrowObject(Duration) doesn't obey its borrowMaxWait Duration argument when the argument is different from GenericObjectPool.getMaxWaitDuration(). Thanks to Gary Gregory.
32+
o POOL-418: The maximum wait time for GenericObjectPool.borrowObject(*) may exceed expectations due to a spurious thread wakeup. Thanks to Gary Gregory.
33+
o Javadoc is missing its Overview page. Thanks to Gary Gregory.
34+
o Migrate site generation templates to https://maven.apache.org/xsd/xdoc-2.0.xsd. Thanks to Gary Gregory.
35+
36+
Changes:
37+
o Bump org.apache.commons:commons-parent from 62 to 79. Thanks to Gary Gregory.
38+
o [test] Bump commons-lang3 from 3.13.0 to 3.17.0. Thanks to Gary Gregory.
39+
o [site] Pickup org.apache.bcel:bcel version from parent POM. Thanks to Gary Gregory.
40+
o [test] Bump org.ow2.asm:asm-util from 9.5 to 9.7.1. Thanks to Gary Gregory.
41+
42+
43+
For complete information on Apache Commons Pool, including instructions on how to submit bug reports,
44+
patches, or suggestions for improvement, see the Apache Commons Pool website:
45+
46+
https://commons.apache.org/proper/commons-pool/
47+
48+
Download page: https://commons.apache.org/proper/commons-pool/download_pool.cgi
49+
50+
-----------------------------------------------------------------------------------------------
151
Apache Commons Pool 2.12.0 RELEASE NOTES
252

353
The Apache Commons Pool team is pleased to announce the release of Apache Commons Pool 2.12.0.

0 commit comments

Comments
 (0)