title: Maven : Specfying directory paths to pick the file and deploy
body: <p>I am using maven 2.2.1 version as a build tool for my Java Application .</p>
  
  <p>With this Maven tool , i am building the war file in some directory and copying it to server (Tomcat )</p>
  
  <p>This works by these below lines</p>
  
  <pre><code>&lt;copy file="D:/MyProject/target/Test.war"
  tofile="C:/Softwares/apache-tomcat-6.0.33/webapps/Test.war" /&gt;
  </code></pre>
  
  <p>All this works fine .</p>
  
  <p>Here my question is that instead of hard coding directory the directory path , can i specifiy somewhere else ??</p>
  
  <p>I have seen these <code>project.build.directory</code>  for the src directory and <code>project.build.outputDirectory</code> for the target directory , can we specify this property name in the file ??</p>
  
  <p>Please guide me , thanks in advance .</p>