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/25 21:23:29 UTC

(commons-exec) branch master updated: Prepare for the next release candidate

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-exec.git


The following commit(s) were added to refs/heads/master by this push:
     new 3694a462 Prepare for the next release candidate
3694a462 is described below

commit 3694a4626e4e09335084777aee3617b7693880f2
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Nov 25 21:23:24 2025 +0000

    Prepare for the next release candidate
---
 README.md                        |  8 +++----
 RELEASE-NOTES.txt                | 45 ++++++++++++++++++++++++++++++++++++++++
 src/changes/changes.xml          |  2 +-
 src/changes/release-notes.vm     |  2 +-
 src/site/xdoc/download_exec.xml  | 28 ++++++++++++-------------
 src/site/xdoc/issue-tracking.xml |  2 +-
 src/site/xdoc/mail-lists.xml     |  2 +-
 7 files changed, 67 insertions(+), 22 deletions(-)

diff --git a/README.md b/README.md
index 7d76db01..854e3305 100644
--- a/README.md
+++ b/README.md
@@ -45,11 +45,11 @@ Apache Commons Exec
 
 [![Java CI](https://github.com/apache/commons-exec/actions/workflows/maven.yml/badge.svg)](https://github.com/apache/commons-exec/actions/workflows/maven.yml)
 [![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)
-[![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)
+[![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)
 [![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)
 [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/apache/commons-exec/badge)](https://api.securityscorecards.dev/projects/github.com/apache/commons-exec)
 
-Apache Commons Exec is a library to reliably execute external processes from within the JVM.
+Apache Commons Exec is a library that reliably executes external processes from within the JVM.
 
 Documentation
 -------------
@@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven repositories:
 <dependency>
   <groupId>org.apache.commons</groupId>
   <artifactId>commons-exec</artifactId>
-  <version>1.5.0</version>
+  <version>1.6.0</version>
 </dependency>
 ```
 
@@ -89,7 +89,7 @@ There are some guidelines which will make applying PRs easier for us:
 + Respect the existing code style for each file.
 + 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.
 + Provide JUnit tests for your changes and make sure your changes don't break any existing tests by running `mvn`.
-+ Before you pushing a PR, run `mvn` (by itself), this runs the default goal, which contains all build checks.
++ Before you push a PR, run `mvn` (without arguments). This runs the default goal which contains all build checks.
 + To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
 
 If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index 34a78df8..ce821876 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -14,6 +14,51 @@ 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.
 
+Apache Commons Exec 1.6.0 Release Notes
+---------------------------------------
+
+The Apache Commons Exec team is pleased to announce the release of Apache Commons Exec 1.6.0.
+
+Apache Commons Exec is a library that reliably executes external processes from within the JVM.
+
+This is a feature and maintenance release. Java 8 or later is required.
+
+Changes in this version include:
+
+New features:
+o            TimeoutObserver now extends Consumer<Watchdog>. Thanks to Gary Gregory.
+o            Add org.apache.commons.exec.Watchdog.getTimeout(). Thanks to Gary Gregory.
+
+Fixed Bugs:
+o            Watchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException. Thanks to Gary Gregory.
+o            ExecuteWatchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException. Thanks to Gary Gregory.
+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.
+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.
+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.
+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.
+o            Fix Checkstyle issues. Thanks to Gary Gregory.
+o            Fix StringUtils.quoteArgument(String) when input contains single and double quotes #309. Thanks to Xin Wang, Sebb, Gary Gregory.
+o            Fix Apache RAT plugin console warnings. Thanks to Gary Gregory.
+
+Changes:
+o            Bump org.apache.commons:commons-parent from 83 to 93 #299, #308, #314, #316. Thanks to Dependabot, Gary Gregory.
+o            Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.20.0 #282. Thanks to Dependabot, Gary Gregory.
+
+
+Historical list of changes: https://commons.apache.org/proper/commons-exec//changes.html
+
+For complete information on Apache Commons Exec, including instructions on how to submit bug reports,
+patches, or suggestions for improvement, see the Apache Commons Exec website:
+
+https://commons.apache.org/proper/commons-exec/
+
+Download page: https://commons.apache.org/proper/commons-exec//download_exec.cgi
+
+Have fun!
+-Apache Commons Team
+
+=============================================================================
+
 Apache Commons Exec 1.5.0 Release Notes
 ---------------------------------------
 
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index cd79ca94..c2ca2658 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -23,7 +23,7 @@
     <title>Apache Commons Exec Release Notes</title>
   </properties>
   <body>
-    <release version="1.6.0" date="YYYY-MM-DD" description="This is a feature and maintenance release. Java 8 or later is required.">
+    <release version="1.6.0" date="2025-11-25" description="This is a feature and maintenance release. Java 8 or later is required.">
       <!-- FIX -->
       <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>
       <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>
diff --git a/src/changes/release-notes.vm b/src/changes/release-notes.vm
index cde9a022..87b0a48c 100644
--- a/src/changes/release-notes.vm
+++ b/src/changes/release-notes.vm
@@ -32,7 +32,7 @@ See the License for the specific language governing permissions and
 limitations under the License.
 
 ${project.name} ${version} Release Notes
-------------------------------------------------
+---------------------------------------
 
 The ${developmentTeam} is pleased to announce the release of ${project.name} ${version}.
 
diff --git a/src/site/xdoc/download_exec.xml b/src/site/xdoc/download_exec.xml
index cf6e4b1d..078c6fc5 100644
--- a/src/site/xdoc/download_exec.xml
+++ b/src/site/xdoc/download_exec.xml
@@ -58,7 +58,7 @@ limitations under the License.
 -->
 <document xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Download Apache Commons Exec</title>
     <author email="dev@commons.apache.org">Apache Commons Team</author>
@@ -115,32 +115,32 @@ limitations under the License.
       </p>
     </subsection>
     </section>
-    <section name="Apache Commons Exec 1.5.0 ">
+    <section name="Apache Commons Exec 1.6.0 ">
       <subsection name="Binaries">
         <table>
           <tr>
-              <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>
-              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.tar.gz.sha512">sha512</a></td>
-              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.tar.gz.asc">pgp</a></td>
+              <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>
+              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.tar.gz.sha512">sha512</a></td>
+              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/exec/binaries/commons-exec-1.5.0-bin.zip">commons-exec-1.5.0-bin.zip</a></td>
-              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.zip.sha512">sha512</a></td>
-              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.5.0-bin.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/exec/binaries/commons-exec-1.6.0-bin.zip">commons-exec-1.6.0-bin.zip</a></td>
+              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.zip.sha512">sha512</a></td>
+              <td><a href="https://downloads.apache.org/commons/exec/binaries/commons-exec-1.6.0-bin.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
       <subsection name="Source">
         <table>
           <tr>
-              <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>
-              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.tar.gz.sha512">sha512</a></td>
-              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.tar.gz.asc">pgp</a></td>
+              <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>
+              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.tar.gz.sha512">sha512</a></td>
+              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.tar.gz.asc">pgp</a></td>
           </tr>
           <tr>
-              <td><a href="[preferred]/commons/exec/source/commons-exec-1.5.0-src.zip">commons-exec-1.5.0-src.zip</a></td>
-              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.zip.sha512">sha512</a></td>
-              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.5.0-src.zip.asc">pgp</a></td>
+              <td><a href="[preferred]/commons/exec/source/commons-exec-1.6.0-src.zip">commons-exec-1.6.0-src.zip</a></td>
+              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.zip.sha512">sha512</a></td>
+              <td><a href="https://downloads.apache.org/commons/exec/source/commons-exec-1.6.0-src.zip.asc">pgp</a></td>
           </tr>
         </table>
       </subsection>
diff --git a/src/site/xdoc/issue-tracking.xml b/src/site/xdoc/issue-tracking.xml
index af1ac91a..f175f3d9 100644
--- a/src/site/xdoc/issue-tracking.xml
+++ b/src/site/xdoc/issue-tracking.xml
@@ -43,7 +43,7 @@ limitations under the License.
 -->
 <document xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Apache Commons Exec Issue tracking</title>
     <author email="dev@commons.apache.org">Apache Commons Team</author>
diff --git a/src/site/xdoc/mail-lists.xml b/src/site/xdoc/mail-lists.xml
index 47f2aa0c..595a9403 100644
--- a/src/site/xdoc/mail-lists.xml
+++ b/src/site/xdoc/mail-lists.xml
@@ -41,7 +41,7 @@ limitations under the License.
 -->
 <document xmlns="http://maven.apache.org/XDOC/2.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-  xsi:schemaLocation="https://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
+  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 https://maven.apache.org/xsd/xdoc-2.0.xsd">
   <properties>
     <title>Apache Commons Exec Mailing Lists</title>
     <author email="dev@commons.apache.org">Apache Commons Team</author>