title: How to prevent eclipse from deploying test classes on Tomcat?
body: <p>I have a Maven project, containing the typical folders <code>src/main/java</code> and <code>src/test/java</code> and I am using Eclipse 3.7 with m2e 1.0.and Maven Integration for WTP 1.4.0 . Eclipse is used during development to deploy the application on an server (Tomcat or Glassfish), but it deploys the test classes from <code>src/test/java</code> folder too.</p>
  
  <p>I do not want the test classes deployed, so how can I "exclude" that directory from eclipse-tomcat deployment?</p>