title: Module dependency to generated jar
body: <p>I have one project (called EJB server) that contains X-Doclet annotated EJB service and a client project (module) that depends on client jar generated from server project.  </p>
  
  <p>What is best practice in maven for setting such dependencies when one project (module) depends on JAR which is generated from other module?</p>