Tibor17 edited a comment on pull request #77: URL: https://github.com/apache/maven-resolver/pull/77#issuecomment-811832259
@hboutemy @cstamas @michael-o Some long time ago I was talking about the following idea in our Slack. It was about atomic move for the artifact. Maybe the lock file as well. Can we utilize this? `java.nio.file.Files.move(Path source, Path target, CopyOption... options)` where option would be `StandardCopyOption.ATOMIC_MOVE` This means that we would download the artifact file apart. After it is done, move it or fail. I don't know if the lock file is necessary but I guess it is not in this case. Pls check it out. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org