nt&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;com.carrotgarden.maven&lt;/groupId&gt;
          &lt;artifactId&gt;flatten-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;1.7.20200503170847&lt;/version&gt;
        &lt;/plugin&gt;
        ...
      &lt;/plugins&gt;
    &lt;/pluginManagement&gt;
    &lt;!-- To use the plugin goals in your POM or parent POM --&gt;
    &lt;plugins&gt;
      &lt;plugin&gt;
        &lt;groupId&gt;com.carrotgarden.maven&lt;/groupId&gt;
       