You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
53
53
54
54
Documentation
55
55
-------------
@@ -68,7 +68,7 @@ Alternatively, you can pull it from the central Maven repositories:
68
68
<dependency>
69
69
<groupId>org.apache.commons</groupId>
70
70
<artifactId>commons-exec</artifactId>
71
-
<version>1.5.0</version>
71
+
<version>1.6.0</version>
72
72
</dependency>
73
73
```
74
74
@@ -89,7 +89,7 @@ There are some guidelines which will make applying PRs easier for us:
89
89
+ Respect the existing code style for each file.
90
90
+ 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.
91
91
+ 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.
93
93
+ To see the code coverage report, regardless of coverage failures, run `mvn clean site -Dcommons.jacoco.haltOnFailure=false -Pjacoco`
94
94
95
95
If you plan to contribute on a regular basis, please consider filing a [contributor license agreement](https://www.apache.org/licenses/#clas).
Copy file name to clipboardExpand all lines: RELEASE-NOTES.txt
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,51 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
14
See the License for the specific language governing permissions and
15
15
limitations under the License.
16
16
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:
Copy file name to clipboardExpand all lines: src/changes/changes.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@
23
23
<title>Apache Commons Exec Release Notes</title>
24
24
</properties>
25
25
<body>
26
-
<releaseversion="1.6.0"date="YYYY-MM-DD"description="This is a feature and maintenance release. Java 8 or later is required.">
26
+
<releaseversion="1.6.0"date="2025-11-25"description="This is a feature and maintenance release. Java 8 or later is required.">
27
27
<!-- FIX -->
28
28
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">Watchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException.</action>
29
29
<actiontype="fix"dev="ggregory"due-to="Gary Gregory">ExecuteWatchdog.builder().get() now uses a default timeout of 30 seconds instead of throwing a NullPointerException.</action>
0 commit comments