5

There is a plugin that works properly in my co-worker's system but doesn't in mine. I suspect it because of a repository included in his settings.xml but not in mine. Is there a tool that I can use to figure out from which repo is this plugin being downloaded from?

4

2 回答 2

5

Maven 将该信息存储在每个工件_maven.repositories的本地 maven 存储库(通常)中调用的文件中。~/.m2/repositories该文件位于本地 maven 存储库中相应工件的旁边。

该文件通常会列出从中下载工件的存储库/插件存储库。这与您settings.xml文件中的存储库匹配。

于 2012-08-13T19:07:40.837 回答
4

在 Maven 3 中,该文件似乎已更改为 _remote.repositories

于 2014-11-11T19:01:02.400 回答