Found duplicate execution with id default in pom.xml
<p>How to resolve issue with duplicate executions.</p>

<blockquote>
  <p>'build.pluginManagement.plugins.plugin[org.flywaydb:flyway-maven-plugin].executions.execution.id' must be unique but found duplicate execution with id default</p>
</blockquote>

<p>Here is source code:</p>

<pre><code>             &lt;plugin&gt;
                &lt;groupId&gt;org.flywaydb&lt;/groupId&gt;
                &lt;artifactId&gt;flyway-maven-plugin&lt;/artifactId&gt;
                &lt;version&gt;4.0.1&lt;/version&gt;
                &lt;configuration&gt;
                    &lt;user&gt;tkmadmin&lt;/user&gt;
                    &lt;password&gt;ticketmaster&lt;/password&gt;
                &lt;/configuration&gt;
                &lt;executions&gt;
                    &lt;execution&gt;
                        &lt;phase&gt;initialize&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;clean&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                    &lt;execution&gt;
                        &lt;phase&gt;generate-resources&lt;/phase&gt;
                        &lt;goals&gt;
                            &lt;goal&gt;migrate&lt;/goal&gt;
                        &lt;/goals&gt;
                    &lt;/execution&gt;
                &lt;/executions&gt;
            &lt;/plugin&gt;
</code></pre>