title: Difference between altDeploymentRepository and altReleaseDeploymentRepository
body: <p>I use <a href="http://swagger.io/" rel="noreferrer">swagger</a> to generate web services clients on my project. The generated code produce a library that can be use as a Maven lib. I already successfully deploy release version into my private sonatype-nexus.</p>
  
  <p>I wonder what is the difference between <code>altDeploymentRepository</code> and <code>altReleaseDeploymentRepository</code>? How <code>mvn deploy</code> select which repository to use if the two parameters are set? </p>
  
  <p>As the <a href="http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository" rel="noreferrer">apache-maven deploy documentation</a> said :</p>
  
  <blockquote>
    <p><strong>altDeploymentRepository</strong>: Specifies an alternative repository to which the project artifacts should be deployed ( other than those specified in  ). 
    Format: id::layout::url</p>
    
    <p><strong>altReleaseDeploymentRepository</strong>: The alternative repository to use when the project has a final version.</p>
    
    <p><strong>altSnapshotDeploymentRepository</strong>: The alternative repository to use when the project has a snapshot version.</p>
  </blockquote>
  
  <p>What exactly does</p>
  
  <blockquote>
    <p>when the project has a final version.</p>
  </blockquote>
  
  <p>mean?</p>