Try mvn -help
-l,--log-file <arg> Log file to where all build output will go.
mvn <your parameters> --log-file log.txt
Try mvn -help
-l,--log-file <arg> Log file to where all build output will go.
mvn <your parameters> --log-file log.txt