title: Installing to another local repo in Maven [JAVA]
body: <p>Short question: </p>
  
  <p>Is there a way to install compiled jar files to another local repo other than the local repo of external dependencies?</p>
  
  <p>Long question: </p>
  
  <p>I want to compile my project using <code>mvn clean install</code>. 
  Since the project uses some external dependencies, but maven will download those dependencies into my local repo. </p>
  
  <p>This is good, but what I do not want is having the compiled jar files of my project also stored there, mixing with the others. </p>
  
  <p>I want to find a way to keep all external dependencies in one local repo (e.g. C:\Repo) and then all my project jars are found in another local repo (e.g. D:\Repo) after compilation.</p>