ArtifactId is appended to SCM Url using Maven Release Plugin
<p>I have a master POM for all projects. The POM contains the following SCM part:</p>

<pre><code>    &lt;groupId&gt;com.company&lt;/groupId&gt;
    &lt;artifactId&gt;master&lt;/artifactId&gt;
    &lt;version&gt;...&lt;/version&gt;
    &lt;packaging&gt;pom&lt;/packaging&gt;

    &lt;scm&gt;
        &lt;connection&gt;scm:git:https://user@bitbucket.server.de/scm/${scm.repository.name}/${scm.project.name}.git&lt;/connection&gt;
        &lt;developerConnection&gt;scm:git:https://user@bitbucket.server.de/scm/${scm.repository.name}/${scm.project.name}.git&lt;/developerConnection&gt;
        &lt;url&gt;https://bitbucket.server.de/scm/${scm.repository.name}/${scm.project.name}.git&lt;/url&gt;
        &lt;tag&gt;HEAD&lt;/tag&gt;
    &lt;/scm&gt;

&lt;properties&gt;
     &lt;project.scm.id&gt;bitbucket-scm&lt;/project.scm.id&gt;
     &lt;scm.project.name&gt;maven-master&lt;/scm.project.name&gt;
     &lt;scm.repository.name&gt;tsu&lt;/scm.repository.name&gt;
&lt;/properties&gt;
</code></pre>

<p>Now, I have a maven multi module project, this is the parent POM:</p>

<pre><code>    &lt;parent&gt;
        &lt;groupId&gt;com.company&lt;/groupId&gt;
        &lt;artifactId&gt;master&lt;/artifactId&gt;
        &lt;version&gt;...&lt;/version&gt;
    &lt;/parent&gt;

    &lt;groupId&gt;com.company.group&lt;/groupId&gt;
    &lt;artifactId&gt;project-foo&lt;/artifactId&gt;
    &lt;version&gt;...&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;

    &lt;name&gt;project FOO&lt;/name&gt;

    &lt;properties&gt;
        &lt;scm.project.name&gt;project-foo&lt;/scm.project.name&gt;
    &lt;/properties&gt;
</code></pre>

<p>When executing the release plugin to release the master POM (first snippet), it works fine. However, when executing the release plugin to release the multi module project (second snippet), it fails, saying:</p>

<blockquote>
  <p>[ERROR] Failed to execute goal
  org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare
  (default-cli) on project project-foo: Unable to commit files 
  [ERROR] Provider message: 
  [ERROR] The git-push command failed. 
  [ERROR] Command output: [ERROR] fatal: remote error: Repository not found 
  [ERROR] The requested repository does not exist, or you do not have permission to
  [ERROR] access it.</p>
</blockquote>

<p>In the logs, I can also see the repository URL.</p>

<p>For the working release of the Master POM, it uses</p>

<blockquote>
  <p><a href="https://user" rel="noreferrer">https://user</a>:********@bitbucket.server.de/scm/tsu/maven-master.git
  refs/heads/dev:refs/heads/dev</p>
</blockquote>

<p>For the non-working release of the multi-module project, it uses</p>

<blockquote>
  <p><a href="https://user" rel="noreferrer">https://user</a>:********@bitbucket.server.de/scm/tsu/project-foo.git/project-foo refs/heads/dev:refs/heads/dev</p>
</blockquote>

<p>It seems to append the artifact-ID of the project to the URL when releasing the multi-module project.</p>

<p>When copying the entire SCM section to the multi-module project and modifying it, it works. However, I only want to interpolate a single property in the master POM to avoid having to copy the SCM tags to every project.</p>

<p>Any help to fix this issue is appreciated.</p>