Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 jar 文件的依赖项,该文件已经在我的 .m2 目录中。但是当我用 maven 编译 pom.xml 时,它不是在本地 .m2 存储库中查找那个 jar,而是在 setting.xml 中引用一个。为什么会这样?
谢谢。