Maven: How can I stop the deploy plugin from logging upload progress?
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.
精彩评论