title: Artifact has not been packaged yet
body: <p>I am letting Maven copy some dependency files into a specific location for a GWT project. The <code>maven-dependency-plugin</code> does the job and so far it works. The only Problem is that I'm getting an error from Eclipse that says:</p>
  
  <blockquote>
    <p><code>Artifact has not been packaged yet. When used on reactor artifact, copy should be executed after packaging: see MDEP-187.</code></p>
  </blockquote>
  
  <p>I have tried to change the <code>&lt;phase&gt;</code> but that did not work. How can I get rid of that error and why is it there because Maven builds as intended.</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugins&gt;
    &lt;plugin&gt;
      &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;phase&gt;install&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;copy-dependencies&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;outputDirectory&gt;${project.basedir}/war/WEB-INF/lib&lt;/outputDirectory&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
    &lt;/plugin&gt;
  &lt;/plugins&gt;
  </code></pre>