Skip to content

Replace plexus-utils StringUtils with commons-lang3 in enforcer-rules - #1048

Merged
slachiewicz merged 1 commit into
masterfrom
agent/plexus-utils-enforcer
Oct 1, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/plexus-utils-enforcer

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

In enforcer-rules, the plexus-utils StringUtils calls move to commons-lang3, which the module already declares, and one join becomes String.join. Every method used (isEmpty, isNotEmpty, isWhitespace, split, strip, stripStart, stripEnd) behaves the same in both libraries at the plexus-utils 4.1.0 the build resolves; isEmpty there no longer trims. Other plexus-utils uses stay.

Part of apache/maven#13309.

Verified: mvn verify -Prun-its → 156 ITs passed.

@slachiewicz
slachiewicz marked this pull request as ready for review October 1, 2026 06:11
@slachiewicz
slachiewicz merged commit 260dfdf into master Oct 1, 2026
22 checks passed
@slachiewicz
slachiewicz deleted the agent/plexus-utils-enforcer branch October 1, 2026 08:58
@github-actions github-actions Bot added this to the 3.7.0 milestone Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants