title: Copy a jar file with maven
body: <p>I'm trying to copy the .jar, created by Maven 3, to another location.
  Currently, I'm using Ant's copy task, but Maven simply doesn't copy the file.</p>
  
  <pre><code>&lt;plugin&gt;
    &lt;artifactId&gt;maven-antrun-plugin&lt;/artifactId&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;phase&gt;install&lt;/phase&gt;
        &lt;configuration&gt;
          &lt;tasks&gt;
            &lt;copy file="target/myfile.jar" tofile="D:/Bukkit/plugins/myfile.jar"/&gt;
          &lt;/tasks&gt;
        &lt;/configuration&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>