Move ant tasks to be executed at the "verify" phase to avoid failures during generate-resources phase