Skip to content

Use commons-lang3 and the JDK instead of plexus-utils StringUtils in the release manager - #1516

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

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

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

In maven-release-manager, the plexus-utils StringUtils calls whose commons-lang3 or JDK counterparts behave the same move to those (isEmpty, isNotEmpty, replace, split, right, leftPad, isNumeric behind a non-empty check, and String.join). Calls that differ stay: isNumeric in DefaultVersionInfo.getNextVersion (plexus returns true for an empty string), and the FileUtils and IOUtil helpers. 769 tests before and after.

Part of apache/maven#13309.

@slachiewicz
slachiewicz marked this pull request as ready for review October 1, 2026 10:27
@slachiewicz
slachiewicz merged commit 7f56a52 into master Oct 1, 2026
21 checks passed
@slachiewicz
slachiewicz deleted the agent/plexus-utils-release branch October 1, 2026 19:01
@github-actions github-actions Bot added this to the 3.3.2 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.

1 participant