title: Auto-wiring annotations in classes from dependent jars
body: <p>I'm relatively new to Java, so I hope this isn't a dumb question.</p>
  
  <p>I have a Web project in Eclipse that I'm trying to deploy to Tomcat.  I have two dependent projects in Eclipse which are being compiled into .jar files and deployed to the /WEB-INF/lib directory.</p>
  
  <p>This is fine, but unfortunately Spring doesn't scan for annotations in dependencies unless the class files from the .jars are extracted into the /WEB-INF/classes directory.</p>
  
  <p>Is there an easy way to do this extraction at build time?  I'm using Maven.  I've written a batch file for the time being to do this (I'm developing on Windows, deploying on Ubuntu)</p>
  
  <p>I do have questions about how to automate this for server deployment, though, am I doing something wrong?  Surely I'm not the only one to wrestle with this problem.</p>