title: Packaging common classes into WAR with maven and eclipse
body: <p>I have two maven-based eclipse projects, one being a project with common classes and one a Java EE web application using these.</p>
  
  <p>Now, I know the way to build the common project as a jar and add it as a dependency to the other. </p>
  
  <p>But how would I solve it, if I want the common classes directly be included in the WAR's WEB-INF/classes?</p>
  
  <p>And, will that mechanism work both within eclipse and from the command line running a maven command?</p>