Are you looking for a different location for maven repository?
Try -Dmaven.repo.local=<new directory>

Rodrigo de Salvo Braz wrote:
Hi,

I am trying to tell mvn via command line not to use my OS user home directory for settings (that is, to store the directory .m2 somewhere else).

I tried adding -Denvironment.home=<new directory>. Other things I tried were -Denv.home and setting the environment variables user_home. None of those worked.

Can anyone give me any hints as to what to do regarding this?

Best,

Rodrigo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to