Updated resources plugin to use clean phase when copying wars