Выполнение плагина не покрывается конфигурацией жизненного цикла: org.apache.maven.plugins: Maven-Compiler-Plugin: 3.10.1: Compile (выполнение: по умолчанию, фаза: компиляция)

Error:Plugin execution not covered by lifecycle configuration: 
  org.apache.maven.plugins:maven-compiler-plugin:3.10.1:
  compile (execution: default-compile, phase: compile)
  
Solution: Introduce <pluginManagement>

<build>
    <pluginManagement>
        <plugins>
            <plugin> ... </plugin>
            <plugin> ... </plugin>
                  ....
        </plugins>
    </pluginManagement>
</build>
motinxy