M2_REPO modification variable values eclipse

Classpath Variables when no M2_REPO, do not use the New discovery on the new.

image

 

Eclipse, Maven will read the User Home in the Maven configuration file settings.xml, the default is no such document, it will use the default location of $ {user.home} /. M2 / repository.

image

settings.xml configuration file which has a localRepository label, change the address you want on it.

Guess you like

Origin www.cnblogs.com/Tty725/p/11445847.html