title: Maven module, debugging on Eclipse
body: <p>I'm working with a maven project and I have created few modules with this structure:</p>
  
  <ul>
  <li>Parent
  
  <ul>
  <li>Module A (generates war and jar, default packaging is war)</li>
  <li>Module B (generates war and depends on module A jar)</li>
  <li>Module C (generates war and depends on module A jar)</li>
  </ul></li>
  </ul>
  
  <p>For debug time I have an eclipse/tomcat configuration, but when I need to debug Module B, the jar from Module A will not load inside the lib folder.</p>
  
  <p>Running maven normally will do the job, but I need to run the module using eclipse in order to perform the debug task.</p>
  
  <p>Is there a way to tell eclipse or to perform this simply task?</p>
  
  <p><em>Edit</em>: This is a legacy project, so when moving to maven this was the structure.</p>