M2E “Plugin execution not covered by lifecycle configuration”

If you want to use the maven plugin M2E for eclipse, one usually gets an error message of the following kind:

  Plugin execution not covered by lifecycle configuration:org.scala-tools:maven-scala-plugin:2.15.2:compile (execution: default, phase: compile)

A fast resoluton is to add a plugin execution filter to section org.eclipse.m2e. Thus my error was removed by adding the following lines to my pom.xml:

                        <ignore />

One has to add one plugin execution filter for every error message.