home目录找到了,
setting.xml的仓库我改了
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>D:\repository</localRepository>
INTELLIJ里local repository设置不会更新成我设置的吗,还是我没设置成功啊
如果要用更改后的本地仓库是要在useer setting file后勾选override,还是在local repository后勾选啊
展开
作者回复:
如果放置settings.xml文件的位置是默认位置的话, IntelliJ会使用的. 想确认一下的话, 可以打开IntelliJ的maven设置窗口:
Settings窗口下的"Build, Execution, Deployment" -> "Build Tools" -> "Maven" 右边窗口最下面的几个设置, 可以选择覆盖掉