title: Maven copy project output into other project resources
body: <p>There are two projects:
  1) applet project that outputs jar file
  2) web app project that should host the jar file.</p>
  
  <p>After (1) finished building, the applet jar file should be copied into the webapp folder of (2). The purpose is that (2) will host the applet (1) on the Internet.</p>
  
  <p>A lot of examples explain how to use another project as a library dependency. Other examples, show how to use ant plugin to copy files. I am unsure on how to properly set this up, so that 'mvn install' on the parent project will do the copying at the right time.</p>