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 to add a binary tee.exe to the source tree.
home}/conf/logging/simplelogger. properties file. then Maven will show the date-time info in the above format.
In Eclipse one could see the maven build log by going to Console window, clicking new and then selecting Maven Console .
If you are using linux. you can use the bellow command.
mvn install -X | tee log.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With