I want to save maven output to a file, but without loosing the output to console. Usage of tee is not an option because I run under Windows and also I do not want t
tee
If you are using linux. you can use the bellow command. mvn install -X | tee log.txt
mvn install -X | tee log.txt