title: Maven not replacing tags properly
body: <p>I have two wars say War-A and War - B. I need to build war - B re-using the src and resources directory of War - A with some minor config changes in web.xml of war-B. Hence I given the below code in war - B</p>
  
  <pre><code>&lt;srcPath&gt;${project.parent.basedir}/War-A/src/main/java&lt;/srcPath&gt;
  &lt;resourcespath&gt;${project.parent.basedir}/War-A/src/main&lt;/resourcespath&gt;
  </code></pre>
  
  <p>But while building the war-B, Maven not referring the proper path of parent.basedir instead it is showing below logs</p>
  
  <pre><code>[INFO] skip non existing resourceDirectory C:\..\war-B\${project.parent.basedir}\war-A\src\main
  [INFO] 
  [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ 
  war-B ---
  [INFO] No sources to compile
  [INFO] 
  </code></pre>
  
  <p>However with the same configuration </p>
  
  <pre><code>&lt;webapp&gt;${project.parent.basedir}/War-A/src/main&lt;/webapp&gt;
  </code></pre>
  
  <p>it is able to generate the war with webapp directory. Please suggest some solution and I am using eclipse + maven</p>