title: Sharing Test code in Maven
body: <p>How can you depend on test code from another module in Maven?  </p>
  
  <p>Example, I have 2 modules:</p>
  
  <ul>
  <li>Base</li>
  <li>Main</li>
  </ul>
  
  <p>I would like a test case in Main to extend a base test class in Base.  Is this possible?</p>
  
  <p>Update: Found an <a href="https://stackoverflow.com/questions/174560/sharing-test-code-in-maven#174670">acceptable answer</a>, which involves creating a test jar.</p>