可以使Maven变得不那么冗长吗? [英] Can Maven be made less verbose?

查看:101
本文介绍了可以使Maven变得不那么冗长吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Maven发出了太多行输出以符合我的口味(我喜欢Unix方式:没有消息就是好消息).

Maven spews out far too many lines of output to my taste (I like the Unix way: no news is good news).

我想摆脱所有[INFO]行,但是找不到控制Maven详细信息的参数或配置设置.

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.

是否没有类似LOG4J的方式来设置日志级别?

Is there no LOG4J-like way to set the log level?

推荐答案

您可以尝试 -q 开关.

You can try the -q switch.

-q,-quiet安静的输出-仅显示错误

-q,--quiet Quiet output - only show errors

这篇关于可以使Maven变得不那么冗长吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆