title: Maven: how can I deploy two artifacts with the release plugin?
body: <p>My project generates two jar: the <code>original-artifact-name.jar</code> and the <code>artifact-name.jar</code> (I have shade plugin setup). 
  I want to use <code>mvn release:prepare</code> and <code>mvn release:perform</code> and be able to deploy not only the simple jar but also the origial one.</p>
  
  <p>So far I am invoking the mave deploy:file goal manually after the release plugin has been executed. How can I incorporate this step in the release plugin execution?</p>
  
  <p>Edit: this is my attempt with <code>maven-deploy-plugin</code>:</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;artifactId&gt;maven-deploy-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.8.2&lt;/version&gt;
      &lt;executions&gt;
      &lt;execution&gt;
        &lt;id&gt;deploy-nodeps&lt;/id&gt;
          &lt;goals&gt;
            &lt;goal&gt;deploy-file&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;phase&gt;deploy&lt;/phase&gt;
          &lt;configuration&gt;
            &lt;file&gt;${basedir}/target/original-${project.artifactId}-${project.version}.jar&lt;/file&gt;
            &lt;groupId&gt;${project.groupId}&lt;/groupId&gt;
            &lt;artifactId&gt;${project.artifactId}&lt;/artifactId&gt;
            &lt;version&gt;${project.version}&lt;/version&gt;
            &lt;classifier&gt;nodeps&lt;/classifier&gt;
            &lt;url&gt;${project.distributionManagement.repository.url}&lt;/url&gt;
            &lt;repositoryId&gt;${project.distributionManagement.repository.id}&lt;/repositoryId&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
    &lt;/plugin&gt;
  </code></pre>
  
  <p>which for some reasons is deploying the main jar in the snapshot repo, while the nodeps jar in the release repo. This is my repositories setup</p>
  
  <pre><code>&lt;repositories&gt;
  &lt;repository&gt;
    &lt;id&gt;maven-snapshots&lt;/id&gt;
    &lt;url&gt;https://repo.com/maven-snapshots&lt;/url&gt;
  &lt;/repository&gt;
  &lt;repository&gt;
    &lt;id&gt;maven-releases&lt;/id&gt;
    &lt;url&gt;https://repo.com/maven-releases&lt;/url&gt;
  &lt;/repository&gt;
  </code></pre>
  
  <p></p>