title: How can I tell maven to release as different scm user
body: <p>Today I'<a href="https://stackoverflow.com/questions/9554688/maven-versioning-best-practices/9554758">ve been told</a> about maven release plugin which is recommended tool for deploying releases to maven depo. </p>
  
  <p>This knowledge brings to life some new crucial questions. Don't get me wrong, I'm thoroughly reading documentation and heavily experimenting (as much as it possible to experiment with production release code) with settings, but nevertheless failing to succeed.</p>
  
  <p>So, the question is -  how can I tell <code>mvn release:prepare</code> to commit all that needed to be committed under different user.</p>
  
  <p>Here is my config:</p>
  
  <pre><code>          &lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.2.2&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;username&gt;releasebot&lt;/username&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>Everything works pretty well - I'm asked to enter releasebot's password three times as expected, build is successful, but nevertheless, as I can see, from <code>git log</code> all these commits belong to my user, not the releasebot.  </p>