I don't think there's another solution than filing an issue in the maven compiler plugin. Maybe what you ask could be fixed or be put as an option (displaying or not the exception that made the build fail). See http://jira.codehaus.org/browse/MCOMPILER
But are you sure the build failed in compile phase or in the test one? If it's the latter case, then look at http://jira.codehaus.org/browse/SUREFIREinstead. Cheers 2008/12/3 Dang H. Nguyen <[EMAIL PROTECTED]> > When I get a mvn build failure, I've noticed that the exceptions which show > the cause of the build failure, for example, NullPointerException, are shown > as INFO level messages. Only the final "BUILD FAILURE" message is displayed > as ERROR. Since I only want ERRORS to show up in my build reports, I build > with "-q" option. Of course, this hides the exceptions and the only thing I > can see is "BUILD FAILURE". This is a problem, because I have a > CruiseControl implementation that needs to show errors and warnings in the > build reports and hide INFO level messages. > > Does anyone know of a fix or workaround? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
