Send maven output to file
Try mvn -help
-l,--log-file <arg> Log file to where all build output will go.
mvn <your parameters> --log-file log.txt
Just give it a try:
mvn dependency:tree -Dverbose -DoutputFile=resout.out
within the same folder where the pom file is located.