修改本地仓库,Local Repository无法改变

修改本地仓库,Local Repository无法改变
问题:修改本地仓库的settings.xml文件后,Local Repository无法改变
解决:
1,cmd->mvn -v 进行查看maven是否正确安装
2,settings.xml文件中,要放到注释外。(lz问题出在这里)

  <!-- localRepository
   | The path to the local repository maven will use to store artifacts.
   |
   | Default: ${user.home}/.m2/repository
  <localRepository>F:\workspaces\template-mars2\repository</localRepository>
  -->
	<localRepository>F:\workspaces\template-mars2\repository</localRepository>

如果有所帮助,就领个红包支持一下lz吧
修改本地仓库,Local Repository无法改变

————————————————————上文出自胖胖,转载请附带原文链接

后续更新自学的方法,以及java知识总结
我是哪怕前路坎坷,也不愿负年轻的菜狗,自学之路,共勉