Improvements to error reporting in the maven plugin.