My local maven repo is here /Users/power/.m2/repository
.
But I got this error
[java] [ERROR] Could not create local repository at /var/root/.m2/repository -> [Help 1]
Seems Maven thinks that it should use a root user repo. How can I fix it? I don't need to run my maven tasks using root permissions.