title: Send maven output to file
body: <p>On Windows 7, I am trying to send the output of a <strong>maven-3</strong> command to a text file.</p>
  
  <p>I call the command from the root of the project I am trying to analyze.</p>
  
  <p>The command is:</p>
  
  <pre><code>mvn dependency:tree -Dverbose -Dincludes=commons-collections -DoutputFile=C:\Users\myname\Documents\output.txt
  </code></pre>
  
  <p>When I run the command without the <code>outputFile</code> parameter, I see the output sent to the console.</p>
  
  <p>But when I use it with the <code>outputFile</code> parameter, the output file is empty.</p>
  
  <p>Any idea what I am missing here?</p>