Now maven copy resource happens at the correct time