Remove extraneous dependencies and correct m2e lifecycle mapping.