Skip to content

Bump org.codehaus.plexus:plexus-utils from 4.1.0 to 4.2.0 - #475

Merged
jozic merged 1 commit into
mainfrom
dependabot/maven/org.codehaus.plexus-plexus-utils-4.2.0
Nov 19, 2026
Merged

jozic merged 1 commit into
mainfrom
dependabot/maven/org.codehaus.plexus-plexus-utils-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Bumps org.codehaus.plexus:plexus-utils from 4.1.0 to 4.2.0.

Release notes

Sourced from org.codehaus.plexus:plexus-utils's releases.

4.2.0

plexus-utils 4.2.0 makes the file deletion helpers safe around symbolic links, lets CommandLineUtils forward the console's standard input to a child process, and fixes several FileUtils and command-line parsing edge cases. It requires Java 8 or later. The XML classes live in plexus-xml, which this release moves up to 3.1.1.

✨ Highlights

  • Deleting a tree no longer deletes outside it. FileUtils.forceDeleteOnExit followed symbolic links to directories, so a link inside the tree got every file under its target deleted when the JVM exited. deleteDirectory could empty a link's target when the link itself could not be removed. Both now remove only the link (#348, thanks @​kakkar87d).
  • Child processes can read the console. When CommandLineUtils.executeCommandLine gets System.in as the process input, it now polls it instead of blocking in read(), so the call returns once the process exits rather than hanging on an idle terminal (#351, fixes #260).
  • translateCommandline splits at tabs and line breaks. Outside quotes, \t, \n and \r now separate arguments like a space does. Input that held one of these characters unquoted now yields more arguments; quoted text is unchanged (#352, fixes #329).
  • Clearer FileUtils failures. forceDelete uses Files.deleteIfExists, so it also removes dangling symbolic links and skips the Windows retry delay for files that are already gone (#350, fixes #21). copyDirectoryStructure and cleanDirectoryOnExit report an unreadable directory as an IOException naming it, instead of a NullPointerException (#349).
  • plexus-xml 3.1.1 fixes a parser buffer overrun on a supplementary character in an XML comment (#354).

The same fixes, without the standard-input change, are in 3.6.3 for the 3.x line.

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

🔧 Build

📦 Dependency updates

Full changelog

Commits
  • 20be4b8 [maven-release-plugin] prepare release plexus-utils-4.2.0
  • bd96367 Do not follow symlinks in forceDeleteOnExit and deleteDirectory
  • 8bdfdc1 Bump plexus-xml to 3.1.1 and keep Dependabot on 3.x
  • ba90392 Split CommandLineUtils.translateCommandline at tabs and line breaks
  • 1b3f665 Poll System.in for stdin in CommandLineUtils.executeCommandLine
  • 44a05db Skip the dangling-symlink test where the platform cannot keep one
  • 2eda606 Use Files.deleteIfExists in FileUtils.forceDelete
  • 30d3090 Report an unlistable directory as IOException in copyDirectoryStructure and c...
  • 44b5735 Bump release-drafter/release-drafter from 7.9.0 to 7.10.0
  • 58b2a32 Allow maintainers to start the build manually
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 18, 2026
@jozic

jozic commented Nov 18, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [org.codehaus.plexus:plexus-utils](https://github.com/codehaus-plexus/plexus-utils) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/codehaus-plexus/plexus-utils/releases)
- [Commits](codehaus-plexus/plexus-utils@plexus-utils-4.1.0...plexus-utils-4.2.0)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-utils
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/maven/org.codehaus.plexus-plexus-utils-4.2.0 branch from 391d8cf to ad5cbb6 Compare November 18, 2026 21:31
@jozic
jozic merged commit 1fbadcc into main Nov 19, 2026
12 checks passed
@jozic
jozic deleted the dependabot/maven/org.codehaus.plexus-plexus-utils-4.2.0 branch November 19, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant