Skip to content

Commit 3694a46

Browse files
committed
Prepare for the next release candidate
1 parent ad98710 commit 3694a46

File tree

7 files changed

+67
-22
lines changed

7 files changed

+67
-22
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Apache Commons Exec
4545

4646
[![Java CI](https://github.com/apache/commons-exec/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-exec/actions/workflows/maven.yml)
4747
[![Maven Central](https://img.shields.io/maven-central/v/org.apache.commons/commons-exec?label=Maven%20Central)](https://search.maven.org/artifact/org.apache.commons/commons-exec)
48-
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-exec/1.5.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-exec/1.5.0)
48+
[![Javadocs](https://javadoc.io/badge/org.apache.commons/commons-exec/1.6.0.svg)](https://javadoc.io/doc/org.apache.commons/commons-exec/1.6.0)
4949
[![CodeQL](https://github.com/apache/commons-exec/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/apache/commons-exec/actions/workflows/codeql-analysis.yml)
5050
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-exec/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-exec)
5151

52-
Apache Commons Exec is a library to reliably execute external processes from within the JVM.
52+
Apache Commons Exec is a library that reliably executes external processes from within the JVM.
5353

5454
Documentation
5555
-------------
@@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven repositories:
6868
<dependency>
6969
<groupId>org.apache.commons</groupId>
7070
<artifactId>commons-exec</artifactId>
71-
<version>1.5.0</version>
71+
<version>1.6.0</version>
7272
</dependency>
7373
```
7474

@@ -89,7 +89,7 @@ There are some guidelines which will make applying PRs easier for us:
8989
+ Respect the existing code style for each file.
9090
+ 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.
9191
+ Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
92-
+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
92+
+ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
9393
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
9494

9595
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).

RELEASE-NOTES.txt

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,51 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616

17+
Apache Commons Exec 1.6.0 Release Notes
18+
---------------------------------------
19+
20+
The Apache Commons Exec team is pleased to announce the release of Apache Commons Exec 1.6.0.
21+
22+
Apache Commons Exec is a library that reliably executes external processes from within the JVM.
23+
24+
This is a feature and maintenance release. Java 8 or later is required.
25+
26+
Changes in this version include:
27+
28+
New features:
29+
o TimeoutObserver now extends Consumer<Watchdog>. Thanks to Gary Gregory.
30+
o Add org.apache.commons.exec.Watchdog.getTimeout(). Thanks to Gary Gregory.
31+
32+
Fixed Bugs:
33+
o Watchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException. Thanks to Gary Gregory.
34+
o ExecuteWatchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException. Thanks to Gary Gregory.
35+
o Calling org.apache.commons.exec.Watchdog.Builder.setTimeout(Duration) with null now resets to the default INFINITE_TIMEOUT_DURATION timeout. Thanks to Gary Gregory.
36+
o Calling org.apache.commons.exec.ExecuteWatchdog.Builder.setTimeout(Duration) with null now resets to the default INFINITE_TIMEOUT_DURATION timeout. Thanks to Gary Gregory.
37+
o Calling org.apache.commons.exec.Watchdog.Builder.setThreadFactory(ThreadFactory) with null now resets to the default java.util.concurrent.Executors.defaultThreadFactory(). Thanks to Gary Gregory.
38+
o Calling org.apache.commons.exec.ExecuteWatchdog.Builder.setThreadFactory(ThreadFactory) with null now resets to the default java.util.concurrent.Executors.defaultThreadFactory(). Thanks to Gary Gregory.
39+
o Fix Checkstyle issues. Thanks to Gary Gregory.
40+
o Fix StringUtils.quoteArgument(String) when input contains single and double quotes #309. Thanks to Xin Wang, Sebb, Gary Gregory.
41+
o Fix Apache RAT plugin console warnings. Thanks to Gary Gregory.
42+
43+
Changes:
44+
o Bump org.apache.commons:commons-parent from 83 to 93 #299, #308, #314, #316. Thanks to Dependabot, Gary Gregory.
45+
o Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.20.0 #282. Thanks to Dependabot, Gary Gregory.
46+
47+
48+
Historical list of changes: https://commons.apache.org/proper/commons-exec//changes.html
49+
50+
For complete information on Apache Commons Exec, including instructions on how to submit bug reports,
51+
patches, or suggestions for improvement, see the Apache Commons Exec website:
52+
53+
https://commons.apache.org/proper/commons-exec/
54+
55+
Download page: https://commons.apache.org/proper/commons-exec//download_exec.cgi
56+
57+
Have fun!
58+
-Apache Commons Team
59+
60+
=============================================================================
61+
1762
Apache Commons Exec 1.5.0 Release Notes
1863
---------------------------------------
1964

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<title>Apache Commons Exec Release Notes</title>
2424
</properties>
2525
<body>
26-
<release version="1.6.0" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
26+
<release version="1.6.0" date="2025-11-25" description="This is a feature and maintenance release. Java 8 or later is required.">
2727
<!-- FIX -->
2828
<action type="fix" dev="ggregory" due-to="Gary Gregory">Watchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException.</action>
2929
<action type="fix" dev="ggregory" due-to="Gary Gregory">ExecuteWatchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException.</action>

src/changes/release-notes.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ See the License for the specific language governing permissions and
3232
limitations under the License.
3333

3434
${project.name} ${version} Release Notes
35-
------------------------------------------------
35+
---------------------------------------
3636

3737
The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}.
3838

src/site/xdoc/download_exec.xml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ limitations under the License.
5858
-->
5959
<document xmlns="http://maven.apache.org/XDOC/2.0"
6060
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
61-
xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
61+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
6262
<properties>
6363
<title>Download Apache Commons Exec</title>
6464
<author email="dev@commons.apache.org">Apache Commons Team</author>
@@ -115,32 +115,32 @@ limitations under the License.
115115
</p>
116116
</subsection>
117117
</section>
118-
<section name="Apache Commons Exec 1.5.0 ">
118+
<section name="Apache Commons Exec 1.6.0 ">
119119
<subsection name="Binaries">
120120
<table>
121121
<tr>
122-
<td><a href="[preferred]/commons/exec/binaries/commons-exec-1.5.0-bin.tar.gz">commons-exec-1.5.0-bin.tar.gz</a></td>
123-
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.tar.gz.sha512">sha512</a></td>
124-
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.tar.gz.asc">pgp</a></td>
122+
<td><a href="[preferred]/commons/exec/binaries/commons-exec-1.6.0-bin.tar.gz">commons-exec-1.6.0-bin.tar.gz</a></td>
123+
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.tar.gz.sha512">sha512</a></td>
124+
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.tar.gz.asc">pgp</a></td>
125125
</tr>
126126
<tr>
127-
<td><a href="[preferred]/commons/exec/binaries/commons-exec-1.5.0-bin.zip">commons-exec-1.5.0-bin.zip</a></td>
128-
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.zip.sha512">sha512</a></td>
129-
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.zip.asc">pgp</a></td>
127+
<td><a href="[preferred]/commons/exec/binaries/commons-exec-1.6.0-bin.zip">commons-exec-1.6.0-bin.zip</a></td>
128+
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.zip.sha512">sha512</a></td>
129+
<td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.zip.asc">pgp</a></td>
130130
</tr>
131131
</table>
132132
</subsection>
133133
<subsection name="Source">
134134
<table>
135135
<tr>
136-
<td><a href="[preferred]/commons/exec/source/commons-exec-1.5.0-src.tar.gz">commons-exec-1.5.0-src.tar.gz</a></td>
137-
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.tar.gz.sha512">sha512</a></td>
138-
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.tar.gz.asc">pgp</a></td>
136+
<td><a href="[preferred]/commons/exec/source/commons-exec-1.6.0-src.tar.gz">commons-exec-1.6.0-src.tar.gz</a></td>
137+
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.tar.gz.sha512">sha512</a></td>
138+
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.tar.gz.asc">pgp</a></td>
139139
</tr>
140140
<tr>
141-
<td><a href="[preferred]/commons/exec/source/commons-exec-1.5.0-src.zip">commons-exec-1.5.0-src.zip</a></td>
142-
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.zip.sha512">sha512</a></td>
143-
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.zip.asc">pgp</a></td>
141+
<td><a href="[preferred]/commons/exec/source/commons-exec-1.6.0-src.zip">commons-exec-1.6.0-src.zip</a></td>
142+
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.zip.sha512">sha512</a></td>
143+
<td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.zip.asc">pgp</a></td>
144144
</tr>
145145
</table>
146146
</subsection>

src/site/xdoc/issue-tracking.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ limitations under the License.
4343
-->
4444
<document xmlns="http://maven.apache.org/XDOC/2.0"
4545
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
46-
xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
46+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
4747
<properties>
4848
<title>Apache Commons Exec Issue tracking</title>
4949
<author email="dev@commons.apache.org">Apache Commons Team</author>

src/site/xdoc/mail-lists.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ limitations under the License.
4141
-->
4242
<document xmlns="http://maven.apache.org/XDOC/2.0"
4343
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44-
xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
44+
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
4545
<properties>
4646
<title>Apache Commons Exec Mailing Lists</title>
4747
<author email="dev@commons.apache.org">Apache Commons Team</author>

0 commit comments

Comments
 (0)