Can Maven be made less verbose?
问题 Maven spews out far too many lines of output to my taste (I like the Unix way: no news is good news). I want to get rid of all [INFO] lines, but I couldn't find any mention of an argument or config settings that controls the verbosity of Maven. Is there no LOG4J-like way to set the log level? 回答1: You can try the -q switch. -q,--quiet Quiet output - only show errors 回答2: -q as said above is what you need. An alternative could be -B , --batch-mode Run in non-interactive (batch) mode Batch mode