does the target file wipe every time maven code example
Example: failed to delete surefirebooter.jar
Apart from IDE holding on to the jar,
at times you will have some java process
which could cause this as well.
Lookup for any "java.exe" / "javaw.exe" process in task manager and kill it.