From 8fceb754d64e952aef7b72d088e8dd4590f9721d Mon Sep 17 00:00:00 2001 From: Valentin Delaye Date: Thu, 15 Jan 2026 17:32:57 +0100 Subject: [PATCH] Migrate Commons Lang from 2 to 3 --- pom.xml | 10 +++++++++- .../java/hudson/plugins/powershell/PowerShell.java | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 69792d6..ecd35fc 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ org.jenkins-ci.plugins plugin - 5.2102.v5f5fe09fccf1 + 6.2116.v7501b_67dc517 powershell @@ -43,7 +43,15 @@ 2.504 ${jenkins.baseline}.3 false + false + + + io.jenkins.plugins + commons-lang3-api + 3.20.0-109.ve43756e2d2b_4 + + diff --git a/src/main/java/hudson/plugins/powershell/PowerShell.java b/src/main/java/hudson/plugins/powershell/PowerShell.java index 0eb5dba..62cbad9 100644 --- a/src/main/java/hudson/plugins/powershell/PowerShell.java +++ b/src/main/java/hudson/plugins/powershell/PowerShell.java @@ -9,7 +9,7 @@ import hudson.tasks.CommandInterpreter; import jenkins.model.Jenkins; import edu.umd.cs.findbugs.annotations.CheckForNull; -import org.apache.commons.lang.SystemUtils; +import org.apache.commons.lang3.SystemUtils; import org.kohsuke.stapler.DataBoundConstructor; import org.kohsuke.stapler.DataBoundSetter;