Hi Benjamin,

2009/8/1 Benjamin Bentmann <[email protected]>:
> Keep in mind that the JVM might be running much longer than the Maven build,
> e.g. when Maven is embedded in an IDE or CI server. Therefore I suggest to
> delete the temp file not via a shutdown hook but explicitly once the mojo is
> done with it (e.g. when the invoker returned).
>
> Last but not least, if the user happens to maintain a "tmppom.xml" by
> himself in the project base directory, the plugin will overwrite it. Yes,
> it's an unlikely case but using FileUtils.createTempFile() from plexus-utils
> should easily ensure we're better safe than sorry.

Good points! I will fix it.

Thanks!

Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to