title: Running web app in both Jetty and Tomcat
body: <p>I have a web app which in production I run on Tomcat. It uses the MySQL connector, however it is not bundled up with the war, rather it is included under Tomcat's common lib directory, so that I can access the data source through JNDI.</p>
  
  <p>I would like to do something similar with Jetty (while developing), and more precisely Jetty + Maven. Is there a way for me to include the mysql-connector jar in the classpath when running Jetty through Maven (i.e. not have it bundled in the war file)?</p>
  
  <p>Also I should note that I am using Maven for my build process and have the mysql-connector specified as "provided" scope.</p>