Skip to content

3.6.3

Choose a tag to compare

@github-actions github-actions released this 14 Nov 23:28
· 4 commits to plexus-utils-3.x since this release
plexus-utils-3.6.3

plexus-utils 3.6.3 brings the bug fixes of 4.2.0 to the 3.x line (#355). It requires Java 8 or later, as before.

✨ 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).
  • 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).
  • 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). copyDirectoryStructure and cleanDirectoryOnExit report an unreadable directory as an IOException naming it, instead of a NullPointerException (#349).

🐛 Bug Fixes

  • Do not follow symlinks in forceDeleteOnExit and deleteDirectory (#348) @kakkar87d
  • Split translateCommandline at tabs and line breaks (#352) @slachiewicz
  • Use Files.deleteIfExists in FileUtils.forceDelete (#350) @slachiewicz
  • Report an unlistable directory as IOException instead of NullPointerException (#349) @slachiewicz

Full changelog