Error summarry should parse logs in Maven 2 builds

XMLWordPrintable

      The current Error Summary for build is whatever is piped to the the standard error log. While this works quite well with Ant, where things like compilation errors are logged to the error stream, most Maven 2 errors are logged to standard out, rendering it pretty useless.

      For Maven 2 builds, we should ignore the standard error and parse std out for the errors instead.

      An example of this problem is at http://opensource.bamboo.atlassian.com/browse/STRUTS-MAIN-204

      The error summary doesn't really give any useful info. It's only when you check out the "Logs" tab and scroll to the bottom, you can see that it's actually a compilation error. This is what we'd want in the Error Summary

      07-Mar-2007 19:40:59 [INFO] Compilation failure
      07-Mar-2007 19:40:59
      07-Mar-2007 19:40:59 /home/ ​j2ee/​xml-data/​build-dir/​STRUTS-MAIN/​plugins/​tiles/​src/​main/​ java/​org/​apache/​struts2/​views/​tiles/​TilesResult.java:[104,17] cannot find symbol
      07-Mar-2007 19:40:59 symbol : method render(java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
      07-Mar-2007 19:40:59 location: interface org.apache.tiles.TilesContainer
      07-Mar-2007 19:40:59
      07-Mar-2007 19:40:59 /home/ ​j2ee/​xml-data/​build-dir/​STRUTS-MAIN/​plugins/​tiles/​src/​main/​ java/​org/​apache/​struts2/​tiles/​ StrutsTilesContainerFactory.java:[85,4] org.apache.struts2.tiles.StrutsTilesContainerFactory.StrutsTilesContextFactory is not abstract and does not override abstract method createRequestContext(org.apache.tiles.TilesApplicationContext,java.lang.Object,java.lang.Object) in org.apache.tiles.context.TilesContextFactory
      07-Mar-2007 19:40:59
      07-Mar-2007 19:40:59 /home/ ​j2ee/​xml-data/​build-dir/​STRUTS-MAIN/​plugins/​tiles/​src/​main/​ java/​org/​apache/​struts2/​tiles/​ StrutsTilesContainerFactory.java:[102,49] cannot find symbol
      07-Mar-2007 19:40:59 symbol : method createRequestContext(org.apache.tiles.TilesApplicationContext,java.lang.Object[])
      07-Mar-2007 19:40:59 location: interface org.apache.tiles.context.TilesContextFactory

            Assignee:
            Unassigned
            Reporter:
            MarkC
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 6h
                6h
                Remaining:
                Remaining Estimate - 6h
                6h
                Logged:
                Time Spent - Not Specified
                Not Specified