Wednesday, 10 August 2011

Moving the Maven repository

By default the Maven repository is in the user's root folder. But, since I'm trying to streamline the contents of the system drive I'm going to use a Maven repository in a non-system drive (I don't expect to do Maven builds all that often - so it's ok for them to be slower).

Here's guidance on how to move the repo:
http://www.mkyong.com/maven/where-is-maven-local-repository/

For my reference, I've specified a repo in:
/Volumes/Backup/tmp/MAVEN_REPO

No comments:

Post a Comment