Deleting target files and updating poms