Rename tmp war file
Avoid use of tmpdir
Fix profile activation on Maven 3.2.2+ (MNG-4565)