in my Windows 7 i have a folder for maven in C:Users/MyUser/.m2 , i need to move this folder to the E drive , i changed the settings.xml file to
<localRepository>E:/Maven/MavenRepo</localRepository>
,in Eclipse i changed the user's settings for maven to point to the settings.xml file but still downloading the artifacts in the same old folder on the C drive, How i can move that folder?
您能否验证您更改了哪个设置文件,是在 c:Users/MyUser/.m2 中还是在 maven-installation/conf 文件夹中的全局设置文件。
我认为无法删除 .m2 文件夹,执行 maven 命令需要它。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.