title: mvn release:prepare failing while git push operation?
body: <p>I am trying to release one component using the maven. This is the project structure:</p>
  
  <pre><code>root-
      A-project/pom.xml
      B-project/pom.xml
      C-project/pom.xml
      D-project/pom.xml
  </code></pre>
  
  <p>Here we have ssh URL <code>ssh://userID@gerritforge.lmera.companyName.se:29418/root</code> up to <code>root</code> only. So we add the following lines of code in each project to give the relative path. </p>
  
  <pre><code>&lt;pomFileName&gt;A-project/pom.xml&lt;/pomFileName&gt;
  </code></pre>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;default&lt;/id&gt;
              &lt;goals&gt;
                  &lt;goal&gt;perform&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;configuration&gt;
                  &lt;pomFileName&gt;A-project/pom.xml&lt;/pomFileName&gt;
                  &lt;!--
                  &lt;pushChanges&gt;false&lt;/pushChanges&gt;
                  --&gt;
                  &lt;autoVersionSubmodules&gt;true&lt;/autoVersionSubmodules&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;!--
      &lt;configuration&gt;
          &lt;autoVersionSubmodules&gt;true&lt;/autoVersionSubmodules&gt;
      &lt;/configuration&gt;
      --&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>While running <code>mvn release:prepare</code> the project is building successfully but after this I am getting the following error:</p>
  
  <pre><code>[ERROR] BUILD FAILURE
  [INFO] Unable to tag SCM
  Provider message:
  The git-push command failed.
  Command output:
  To ssh://userID@gerritforge.lmera.companyName.se:29418/root
   ! [remote rejected] A-prject-template-1.1.12 -&gt; A-prject-template-1.1.12 \
   (prohibited by Gerrit) error: failed to push some refs to \
   'ssh://userID@gerritforge.lmera.companyName.se:29418/root'
  </code></pre>
  
  <p>No tags are present at local and remote before doing <code>mvn release:prepare</code>.</p>