title: Best way to deploy large *.war to tomcat
body: <p>During development I frequently have to deploy a large war-file (~45 MB) to a remote test server, normally I copy the file with scp to the server.</p>
  
  <p>The WEB-INF/lib folder makes up the largest part of the war file, which includes all the required libraries (spring, apache-cxf, hibernate,...).</p>
  
  <p>Now I'm searching for an fast and easy a way to redeploy only my altered files.</p>
  
  <p>And how can I determine which packages are really needed by the webapp, because spring and apache-cxf comes with a lot of libs, I'm sure I don't need all of them.</p>