IntelliJ和M2 repo

Fra*_*ank 9 intellij-idea

我在IntelliJ中配置了Maven,并且路径对于M2 repo是正确的.当我需要项目中的依赖项时,如何告诉IntelliJ查看该repo?

Rau*_*aul 6

在Settings> Maven中,单击Local repository directory http://www.jetbrains.com/idea/webhelp/maven.html旁边的Override

希望这可以帮助.