Resolver 1.9.18 uses the temp file technique you describe: copies to (random) temp file located in the same directory where target file is, and then atomically moves the file to its place (unless OS is windows, for obvious reasons).
T On Thu, Feb 29, 2024 at 12:17 PM Václav Haisman <vhais...@gmail.com> wrote: > Hi. > > How resilient is Maven to JVM being killed (K8s POD being killed) while it > is installing artifact files into a local repository? Does it do the copy > into a temporary file then rename method or does it copy into the target > artifact file directly? > > -- > VH >