title: Error during Failsafe integration test does not cause failed Maven build
body: <p>I have Failsafe running a Selenium integration test.  If one of my assertions in the test does not pass and the test fails, then the Maven build will fail as expected.  However, if the test errors, the build finishes unexpectedly as a success (output below)</p>
  
  <pre><code>Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.075 sec &lt;&lt;&lt; FAILURE!
  
  Results :
  
  Tests in error:
    test(uk.co.ned24.ExpandedIT)
  
  Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
  
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD SUCCESSFUL
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 7 minutes 40 seconds
  [INFO] Finished at: Wed Jan 30 16:58:28 GMT 2013
  [INFO] Final Memory: 78M/209M
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>I'm not sure whether this is meant to happen or not and whether Selenium could cause unexpected behaviour?  I've looked at the plugin doco and can't find any flags that can be set to make the build fail after a test error.</p>
  
  <p>Ideally I'd like to make the build fail on test error, so would appreciate any advice!  I've attached the Failsafe snipped from my POM in case that's of use.</p>
  
  <p>thanks, Nick</p>
  
  <pre><code>&lt;plugin&gt;
      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
      &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;integration-test&lt;/id&gt;
              &lt;goals&gt;
                  &lt;goal&gt;integration-test&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
          &lt;execution&gt;
              &lt;id&gt;verify&lt;/id&gt;
              &lt;goals&gt;
                  &lt;goal&gt;verify&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
      &lt;configuration&gt;
          &lt;systemPropertyVariables&gt;
              &lt;configDir&gt;${basedir}/local/integration-test&lt;/configDir&gt;
          &lt;/systemPropertyVariables&gt;
      &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre>