Can maven print a shorter reactor summary?

When a multiproject maven build completes, a summary of all the components is printed as the final output. It looks like this:

[INFO] Compiling 5 source files to C:\project\target\classes
1. ERROR in C:\project\src\main\java\com\example\ (at line 100);
The method bar() is undefined
3 problems (3 errors)[INFO] ------------------------------
[INFO] ---------------------------------------------------
[ERROR] Found 1 errors and 0 warnings.
[INFO] 1 error
[INFO] ---------------------------------------------------
[INFO] -----------------------------------------
[INFO] Reactor Summary:
[INFO] Component 1 ... SUCCESS [1.000s]
[INFO] Component 2 ... FAILURE [2.000s]
[INFO] Component 3 ... SKIPPED
[INFO] -----------------------------------------
[INFO] -----------------------------------------
[INFO] Total time: 3.000s
[INFO] Finished at: Thu Jun 14 12:10:36 EDT 2012
[INFO] Final Memory: 579M/812M
[INFO] -----------------------------------------

I have a very large project with over a hundred components. If there is a failure, I would like the error message and its context to be very near the bottom of the output. Is there a way to make this summary shorter? Instead of listing all the components I just want it to show the last component and whether it succeeded or failed.


I've had similar issues here. What I do is run mvn somegoal -l file.log and then grep through file.log

No, you can't. I was trying to figure this out some time ago and unfortunately I didn't find anything. You can't even control logging by ignoring some levels etc.

For me, it worked then processing Maven output with simple Python scipt that just filter this output and gather information that I needed.

Need Your Help

How to match X and Y coordinates from a click inside a button with the corresponding bitmap pixels (C# Windows Store Apps)?

c# button bitmap windows-store-apps pixels

I have a button with some image as its content. I attach PointerEntered event handler to the button and get PointerPoint coordinates when the cursor enters the button. I can get the bitmap of the b...

Can I set the default string encoding on Ruby 1.9?

ruby-on-rails ruby utf-8 character-encoding ruby-1.9

This might sound minor, but it's been driving me nuts. Since releasing an application to production last Friday on Ruby 1.9, I've been having lots of minor exceptions related to character encoding...