开发者

Maven: How can I stop the deploy plugin from logging upload progress?

开发者 https://www.devze.com 2023-01-10 18:45 出处:网络
How can I make it so Maven doesn\'t spam upload progress in the Hudson conso开发者_如何学Pythonle?

How can I make it so Maven doesn't spam upload progress in the Hudson conso开发者_如何学Pythonle?

Uploading: http://www.example.com/archiva/repository/snapshots/com/example/app/1.0-SNAPSHOT/app-1.0-20100804.175640-1.war
4/9430K
8/9430K
12/9430K
16/9430K
20/9430K
24/9430K
28/9430K


I think adding the batch mode option of maven2 should do the trick. http://books.sonatype.com/mvnref-book/reference/running-sect-options.html#running-sect-batch-option

mvn -B  ...

Another good idea is to use -fae (fail-at-end) for you hudson jobs, as it will report on more than the first error in your project.

0

精彩评论

暂无评论...
验证码 换一张
取 消