title: Skipping tests in some modules in Maven
body: <p>I would like my Maven builds to run most unit tests. But there are unit tests in one project which are slower and I'd like to generally exclude them; and occasionally turn them on. </p>
  
  <p><strong>Question</strong>: How do I do this?</p>
  
  <p>I know about <code>-Dmaven.test.skip=true</code>, but that turns off all unit tests.</p>
  
  <p>I also know about skipping integration tests, described <a href="http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing" rel="noreferrer">here</a>. But I do not have integration tests, just unit tests, and I don't have any explicit calls to the  maven-surefire-plugin. (I am using Maven 2 with the Eclipse-Maven plugin).</p>