title: MAVEN: No plugin found for prefix 'dependency' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
body: <blockquote>
    <p>[ERROR] No plugin found for prefix 'dependency' in the current project
    and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
    available from the repositories [local
    (C:\Users\mdhore.m2\repository), central
    (<a href="https://repo.maven.apache.org/maven2)]" rel="noreferrer">https://repo.maven.apache.org/maven2)]</a> -> [Help 1]</p>
  </blockquote>
  
  <pre><code>&lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; 
      &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; 
      &lt;version&gt;3.0.2&lt;/version&gt; 
      &lt;executions&gt; 
        &lt;execution&gt; 
          &lt;id&gt;copy-dependencies&lt;/id&gt; 
          &lt;phase&gt;package&lt;/phase&gt; 
          &lt;goals&gt; 
            &lt;goal&gt;copy-dependencies&lt;/goal&gt; 
          &lt;/goals&gt; 
          &lt;configuration&gt; 
            &lt;!-- configure the plugin here --&gt; 
          &lt;/configuration&gt; 
        &lt;/execution&gt; 
      &lt;/executions&gt; 
    &lt;/plugin&gt; 
  &lt;/plugins&gt;
  </code></pre>