From 22e807cb63dc2bf7d68dbd3422fd2746e8370c03 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Apr 2026 16:33:38 +0000
Subject: [PATCH 1/7] Bump dependency edu.hm.hafner:codingstyle to v5.27.0
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7d644c8..f39ca10 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
1.4.0
0.8.4
2.0.4
- 5.26.0
+ 5.27.0
From 1152fd10b613d34f23d2e4bb49d7ea757cbc3d7c Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Apr 2026 16:33:48 +0000
Subject: [PATCH 2/7] Bump dependency edu.hm.hafner:codingstyle to v6
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7d644c8..d78bbc7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,7 +49,7 @@
1.4.0
0.8.4
2.0.4
- 5.26.0
+ 6.6.0
From d04c576fe35fac86a1255b17d2a82bf6efd0d4b2 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 10 Apr 2026 16:33:54 +0000
Subject: [PATCH 3/7] Bump dependency org.jvnet.hudson.plugins:analysis-pom to
v12
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7d644c8..db969c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
org.jvnet.hudson.plugins
analysis-pom
- 11.2958.v63511c4c1160
+ 12.3140.v667559b_d0470
From dce2dc6427fb08eec3562ad84b1dc1d2b2a9df90 Mon Sep 17 00:00:00 2001
From: Ulli Hafner
Date: Fri, 10 Apr 2026 23:02:13 +0200
Subject: [PATCH 4/7] Fix PMD warning
---
src/main/java/io/jenkins/plugins/util/AgentFileVisitor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/io/jenkins/plugins/util/AgentFileVisitor.java b/src/main/java/io/jenkins/plugins/util/AgentFileVisitor.java
index 67161b5..559d26c 100644
--- a/src/main/java/io/jenkins/plugins/util/AgentFileVisitor.java
+++ b/src/main/java/io/jenkins/plugins/util/AgentFileVisitor.java
@@ -223,7 +223,7 @@ public String[] invoke(final File workspace, final VirtualChannel channel) {
*
* @return the file names of all found files
*/
- public String[] find(final File workspace) {
+ String[] find(final File workspace) {
try {
var fileSet = new FileSet();
var antProject = new Project();
From ef80869587510517c1c7d5753ef99e5eeaca4bd6 Mon Sep 17 00:00:00 2001
From: Ulli Hafner
Date: Fri, 10 Apr 2026 23:03:09 +0200
Subject: [PATCH 5/7] Suppress RevApi warnings for `SuppressMutation`
annotations
---
pom.xml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/pom.xml b/pom.xml
index 1dc1b7c..3abc694 100644
--- a/pom.xml
+++ b/pom.xml
@@ -320,6 +320,20 @@
.*
Use ArrayList rather than List
+ -
+ true
+ true
+
java.annotation.*
+ @edu.hm.hafner.util.SuppressMutation.*
+ PitMute Annotations are not relevant in API
+
+ -
+ true
+ true
+
java.annotation.*
+ edu.hm.hafner.util.SuppressMutation.*
+ PitMute Annotations are not relevant in API
+
From 2a47b28f1f36eb2d9d452964969812f6698cc273 Mon Sep 17 00:00:00 2001
From: Ulli Hafner
Date: Fri, 10 Apr 2026 23:16:35 +0200
Subject: [PATCH 6/7] Replace deprecated call to `exec`
---
.../io/jenkins/plugins/util/IntegrationTest.java | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/test/java/io/jenkins/plugins/util/IntegrationTest.java b/src/test/java/io/jenkins/plugins/util/IntegrationTest.java
index e76813a..77fda7d 100644
--- a/src/test/java/io/jenkins/plugins/util/IntegrationTest.java
+++ b/src/test/java/io/jenkins/plugins/util/IntegrationTest.java
@@ -746,9 +746,18 @@ protected void makeFileUnreadable(final String absolutePath) {
private void setAccessModeOnWindows(final String path, final String command, final String accessMode) {
try {
- var process = Runtime.getRuntime()
- .exec("icacls \"" + path + "\" " + command + " *S-1-1-0:" + accessMode);
- process.waitFor();
+ var process = new ProcessBuilder("icacls",
+ path, command, "*S-1-1-0:" + accessMode)
+ .redirectErrorStream(true)
+ .start();
+ var exitCode = process.waitFor();
+ if (exitCode != 0) {
+ String output;
+ try (var in = process.getInputStream()) {
+ output = new String(in.readAllBytes(), StandardCharsets.UTF_8);
+ }
+ throw new AssertionError("icacls failed with exit code " + exitCode + ": " + output);
+ }
}
catch (IOException | InterruptedException e) {
throw new AssertionError(e);
From 74b0ac009d622d298f871786a8c23cbe028198f6 Mon Sep 17 00:00:00 2001
From: Ulli Hafner
Date: Sat, 11 Apr 2026 17:22:49 +0200
Subject: [PATCH 7/7] Bump major version to 7
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 3abc694..8b068b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
- 6
+ 7
999999-SNAPSHOT
${project.groupId}.plugin.util.api