title: Multiple test sets in Maven
body: <p>I have written a REST server (in Java using <a href="http://www.jboss.org/resteasy" rel="noreferrer">RestEasy</a>) with a unit test suite written in Scala. The test suite uses the mock server provided by RestEasy and runs with every Maven build.</p>
  
  <p>I would like to create a second functional test suite that calls an actual tomcat server and exercises each REST service. I do not want this new suite to run with every build, but only on demand, perhaps controlled with a command line argument to Maven.</p>
  
  <p>Is it possible to create multiple independent test suites in a Maven project and disable some from automatic running, or do I need to create a separate Maven project for this functional suite? How can I segregate the different functional suite code if these tests are in the same project with the unit tests (different directories)? How do I run a selected suite with command line arguments?</p>