Skip to content

Replace Apache Commons Lang 2 with Java APIs due to removal from core and security issue#252

Merged
mymarche merged 1 commit intojenkinsci:mainfrom
jonesbusy:feature/remove-commons-lang2
Jan 19, 2026
Merged

Replace Apache Commons Lang 2 with Java APIs due to removal from core and security issue#252
mymarche merged 1 commit intojenkinsci:mainfrom
jonesbusy:feature/remove-commons-lang2

Conversation

@jonesbusy
Copy link
Contributor

Description

Replace Apache Commons Lang 2 with Java APIs due to removal from core and security issue

Only ran mvn -DskipTests clean install

Changes

Apache commons lang 2 is transitive dependency (consumed from core) that will be removed on jenkinsci/jenkins#26105

Since this plugin use only StringUtils no need to replace by commons lang 3. We can use modern Java platform equivalent

Issues

jenkinsci/jenkins#26105

@jonesbusy jonesbusy requested a review from a team as a code owner January 19, 2026 15:35
@mymarche mymarche merged commit 587c21a into jenkinsci:main Jan 19, 2026
18 checks passed
@jonesbusy jonesbusy deleted the feature/remove-commons-lang2 branch January 19, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants