Fix test that failed when the execution parsed the project files resulting in extra log messages.
Fix bug when using a configured template file in the VersionInfoMojo. The Mojo deleted the template file after creating the replaced file, this should only happen when a temporary file is created to replace the default template.