Short question:
Is there a way to install compiled jar files to another local repo other than the local repo of external dependencies?
Long question:
I want to compile my project using mvn clean install
.
Since the project uses some external dependencies, but maven will download those dependencies into my local repo.
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.
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.