title: With Maven2, how would I specify a custom directory to which a dependency should be copied?
body: <p>Basically, I have a multi-module project consisting of 5 different modules. One of the modules is kind of the parent module to the other 4, meaning the other 4 need to be built before the 5th, so you could say that each of the 4 modules is a dependency of the 5th. Thus, I've made dependency entries for each of the modules in the 5th module's pom.xml.</p>
  
  <p>However, when I build the project, I don't want those 4 dependencies copied to the "lib" directory of the 5th module. I'd like to specify the directory into which each of them should be placed explicitly.</p>
  
  <p>Is there any way to do this with Maven2?</p>
  
  <p>Thanks for your help,</p>
  
  <p>B.J.</p>