Is it possible to set the location of the local Maven repository as argument on the Maven command line?
The thing is that I don\'t use the default one in ~/.m2
~/.m2
For git:
alias mvn='mvn "-Dmaven.repo.local=$(git rev-parse --show-toplevel)/.m2/repository"'
This uses a separate maven repository in each git repository