title: Maven reporting plugins do not execute if a unit test failure occurs
body: <p>None of the plugins in the reporting section of Maven execute if there is a unit test failure.  </p>
  
  <p>I found that I can set maven.test.failure.ignore=true here - <a href="http://jira.codehaus.org/browse/SUREFIRE-247" rel="nofollow">http://jira.codehaus.org/browse/SUREFIRE-247</a>  The problem to this approach is now our hudson builds are successful even if there are unit test failures.</p>
  
  <p>What I would really like to do is set the reporting plugin maven-surefire-report-plugin to run with the build plugins on a phase but I can't get this to work.</p>
  
  <p>Any idea on how to get the Maven reporting plugins to execute if a unit test failure occurs?</p>