title: Duplicate artifactId in child pom
body: <p>I want a parent pom to define some properties for numerous child poms to inherit. However when I try and use the artifactId within one of these properties in the parent pom, it duplicates in the child's effective pom. Very basic example below. Assume I have all the valid fields needed for poms (groupId, version, packaging etc).</p>
  
  <p>The parent pom's effective pom has a scm connection value of <code>www.mysite.com/parent-pom</code>. But the child's effective pom has a scm connection value of <code>www.mysite.com/child-pom/child-pom</code>. How do I gain this inheritance of the property and general structure of the connection url, without the duplicate artifactId. I want the child pom to have a scm connection of <code>www.mysite.com/child-pom</code>.</p>
  
  <p>Parent:</p>
  
  <pre><code>&lt;project&gt;
    &lt;artifactId&gt;parent-pom&lt;/artifactId&gt;
    &lt;properties&gt;
      &lt;scmurl&gt;www.mysite.com&lt;/scmurl&gt;
    &lt;/properties&gt;
    &lt;scm&gt;
      &lt;connection&gt;${scmurl}/${artifactId}&lt;/connection&gt;
    &lt;/scm&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Child:</p>
  
  <pre><code>&lt;project&gt;
    &lt;parent&gt;
      &lt;artifactId&gt;parent-pom&lt;/artifactId&gt;
    &lt;/parent&gt;
    &lt;artifactId&gt;child-pom&lt;/artifactId&gt;
  &lt;/project&gt;
  </code></pre>