Charles' Blog

General ramblings of a tech geek.

Overriding the Maven Local Repository

| Comments

Playing with Maven today – have been trying to establish a build from a clean repository (not .m2). Guessed that you could set the local repository, but took ages to find the prop…

mvn -o install -Dsettings.localRepository=/var/tmp/m2

does the trick

Comments