title: how to reference artifact version from dependencyManagement in the maven pom
body: <p>I have the following maven pom.xml</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org  /2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
  &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  &lt;groupId&gt;com.abc.def.ghi&lt;/groupId&gt;
  &lt;artifactId&gt;core-with-releases&lt;/artifactId&gt;
  &lt;version&gt;1&lt;/version&gt;
  &lt;properties&gt;
  &lt;yum-repo&gt;/var/www/html/core-repo&lt;/yum-repo&gt;
  &lt;/properties&gt;
  &lt;organization&gt;
  &lt;name&gt;ABC DEF GHI&lt;/name&gt;
  &lt;/organization&gt;
  &lt;dependencyManagement&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;com.aaa.bbb.ccc.ddd&lt;/groupId&gt;
      &lt;artifactId&gt;core&lt;/artifactId&gt;
      &lt;version&gt;1.1.3&lt;/version&gt;
      &lt;type&gt;rpm&lt;/type&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
  &lt;/dependencyManagement&gt;
  &lt;build&gt;
  &lt;plugins&gt;
     &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;exec-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;1.2.1&lt;/version&gt;
      &lt;executions&gt;
        &lt;execution&gt;
          &lt;id&gt;create-directory&lt;/id&gt;
          &lt;phase&gt;process-resources&lt;/phase&gt;
          &lt;goals&gt;
            &lt;goal&gt;exec&lt;/goal&gt;
          &lt;/goals&gt;
          &lt;configuration&gt;
            &lt;executable&gt;mkdir&lt;/executable&gt;
            &lt;arguments&gt;
              &lt;argument&gt;${yum-repo}${dependencies["com.aaa.bbb.ccc.ddd:core"].version}&lt;/argument&gt;
            &lt;/arguments&gt;
          &lt;/configuration&gt;
        &lt;/execution&gt;
      &lt;/executions&gt;
    &lt;/plugin&gt;
   &lt;/plugins&gt;
   &lt;/build&gt;
   &lt;/project&gt;
  </code></pre>
  
  <p>I execute from command line</p>
  
  <p>mvn clean process-resources</p>
  
  <p>As a result, I want directory to be created with the name ending with the version of the artifact from the dependencyManagement element which is 1.1.3</p>
  
  <p>Can somebody help with that? Thanks.</p>