title: Can I modify the Maven deploy phase to replace the maven-deploy-plugin with my own plugin?
body: <p>I'm pretty new to Maven...</p>
  
  <p>What I'm trying to do is skip the maven-deploy-plugin during the deploy phase, while replacing it with my own plugin (i.e. I'm deploying to a non-repository location).</p>
  
  <p>I realize I could do this in multiple other ways, but the boss wants to be able to run:</p>
  
  <blockquote>
    <p>mvn deploy</p>
  </blockquote>
  
  <p>To get the results of my current workaround, which is disabling the maven-deploy-plugin (which seems to be disabling the entire deploy phase), and manually specifying the custom upload goal from the command line.</p>
  
  <p>I'm currently failing to succeed in my mission with: </p>
  
  <pre><code>&lt;executions&gt;
      &lt;execution&gt;
          &lt;phase&gt;deploy&lt;/phase&gt;
      &lt;/execution&gt;
  &lt;/executions&gt;
  </code></pre>
  
  <p>in the build/plugins/plugin section containing my plugin specification, since the deploy phase is skipped by:</p>
  
  <pre><code>        &lt;plugin&gt;
              &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.7&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;skip&gt;true&lt;/skip&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  </code></pre>
  
  <p>Thanks!</p>