title: In Maven is it possible to keep integration tests in a separate folder from unit tests?
body: <p>On the <a href="http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing" rel="noreferrer">Maven and Integration Testing</a> page it says:</p>
  
  <blockquote>
    <p>The Future Rumor has it that a future version of Maven will support
    something like src/it/java in the integration-test phase, in addition
    to src/test/java in the test phase.</p>
  </blockquote>
  
  <p>but that was back in 2011-12-11. Has this happened yet?</p>
  
  <p>In <a href="https://stackoverflow.com/a/13258882/254477">this answer</a> to <a href="https://stackoverflow.com/questions/13257987/run-maven-test-not-in-default-src-test-java-folder">"Run maven test not in default src/test/java folder"</a> it mentions setting the <code>&lt;testSourceDirectory&gt;</code>, is their some way of doing this just  for integration test (ie. the <code>integration-test</code> phase)?</p>
  
  <p>I'm looking to use the <a href="http://maven.apache.org/surefire/maven-failsafe-plugin/" rel="noreferrer">Maven FailSafe plugin</a> and avoid renaming a bunch of integration tests or using the still experimental JUnit <code>@Categories</code>.</p>