See https://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html for details of what needs to be done