Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Quick fix to ensure temporary files are not left around after plugin execution #28

Merged
merged 1 commit into from
May 10, 2011
Merged

Conversation

rborer
Copy link
Contributor

@rborer rborer commented May 10, 2011

Hello David,

I have been using your Maven plugin for a while and it is working very well. Thanks for the good job. I discovered a small issue while using it in that for each execution, a temporary file is created, but never cleaned. Of course those files are created in a temporary folder, but if it is not purged, then a lot of files will stay inside. That's what is happening on my CI infrastructure for example.

Thus, I made this small one-line change to ensure that temporary files are deleted once the JVM is shut down.

Would you mind merging this fix for the next version of your plugin?

Best regards,
Reynald

For each run of the plugin, a temporary file is created, but never cleaned. This check ensure that the temporary file is deleted at the JVM exit.
davidB added a commit that referenced this pull request May 10, 2011
Quick fix to ensure temporary files are not left around after plugin execution
@davidB davidB merged commit 7b0c008 into davidB:master May 10, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants