[SCM-769] use build helper to attach the generated source and M2E happy