title: mvn dependency:tree, multi-module and ${revision}
body: <p>Does dependency:tree understand ${revision}?</p>
  
  <p>I have a multi-module project X:</p>
  
  <pre><code>&lt;groupId&gt;org.X&lt;/groupId&gt;
  &lt;artifactId&gt;X-parent&lt;/artifactId&gt;
  
  &lt;version&gt;${revision}&lt;/version&gt;
  &lt;properties&gt;
      &lt;revision&gt;8.0.0-SNAPSHOT&lt;/revision&gt;
  &lt;/properties&gt;
  
  &lt;modules&gt;
      &lt;module&gt;X-A&lt;/module&gt;
      :
  </code></pre>
  
  <p>It is installed to my local .m2 (and only there).</p>
  
  <p>I have a project Y which depends on X-A, revision 8.0.0-SNAPSHOT</p>
  
  <p>Project Y's pom also includes:</p>
  
  <pre><code>  &lt;repositories&gt;
          &lt;repository&gt;
            &lt;id&gt;rescarta&lt;/id&gt;
            &lt;url&gt;http://software.rescarta.org/nexus/content/groups/public/&lt;/url&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt; 
  </code></pre>
  
  <p>When I run mvn dependency:tree on project Y, it complains:</p>
  
  <pre><code>$ mvn -U dependency:tree
  [INFO] Scanning for projects...
  Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/3.0.1/maven-dependency-plugin-3.0.1.pom
  Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/3.0.1/maven-dependency-plugin-3.0.1.pom (14 kB at 7.0 kB/s)
  Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/3.0.1/maven-dependency-plugin-3.0.1.jar
  Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/3.0.1/maven-dependency-plugin-3.0.1.jar (164 kB at 186 kB/s)
  [INFO] 
  [INFO] -------------------&lt; com.y:Y &gt;-------------------
  [INFO] Building Y 8.0.0-SNAPSHOT
  [INFO] --------------------------------[ jar ]---------------------------------
  Downloading from rescarta: http://software.rescarta.org/nexus/content/groups/public/org/x/X-A/8.0.0-SNAPSHOT/maven-metadata.xml
  Downloading from rescarta: http://software.rescarta.org/nexus/content/groups/public/org/x/X-parent/$%7Brevision%7D/X-parent-$%7Brevision%7D.pom
  Downloading from central: https://repo.maven.apache.org/maven2/org/x/X-parent/$%7Brevision%7D/X-parent-$%7Brevision%7D.pom
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time:  7.681 s
  [INFO] Finished at: 2019-04-08T06:45:53+10:00
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project Y: Could not resolve dependencies for project com.y:Y:jar:8.0.0-SNAPSHOT: Failed to collect dependencies at org.x:X-A:jar:8.0.0-SNAPSHOT: Failed to read artifact descriptor for org.x:X-A:jar:8.0.0-SNAPSHOT: Could not find artifact org.x:X-parent:pom:${revision} in rescarta (http://software.rescarta.org/nexus/content/groups/public/) -&gt; [Help 1]
  </code></pre>
  
  <p>Notice it is trying to download org.x:X-parent:pom:${revision}, not org.x:X-parent:pom:8.0.0-SNAPSHOT</p>
  
  <p>Does dependency:tree not know how to resolve ${revision}?</p>