This week's book giveaway is in the Testing forum. We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line! See this thread for details.
anyone know if its possible to call a goal on a fail in a build? I have a general build process thats written in Maven thats called every night. On a succesful build (i.e. it makes it to the last goal), an email is sent(this happens in the last goal) to a number of users with the log file of the build. If a build fails, the only way you notice this, is that you don't recieve this email. I would like to email the log file to these users when the build fails. The only way I can envisage this is that, a goal be called on a fail. Anyone know if there's anyway of doing this?