title: Override maven release repository durning deploy
body: <p>I am working on an open source library and want to have releases sent to an internal artifactory server.  I have been using maven's <code>distributionManagement</code> and overriding <code>altDeploymentRepository</code> to point to the internal server (so its never in the pom).  This works fine when I do <code>deploy:deploy</code> but when I use the maven release plugin this seems to get ignored.</p>
  
  <pre><code>mvn clean -DaltDeploymentRepository=central::default::internalhost deploy ## works
  mvn clean -DaltDeploymentRepository=central::default::internalhost release:perform ## fails, doesn't pick up this setting
  </code></pre>
  
  <p>How can I override the repository via command line when the release plugin runs deploy?</p>