简体   繁体   English

我怎样才能准确地找出哪个 pom 依赖项?

[英]How can I accurately find out, which pom dependency?

I'm looking for a fool-proof method of finding the pom entry that will provide a project with a specific dependency.我正在寻找一种万无一失的方法来查找将为项目提供特定依赖项的 pom 条目。 For example, if I have import com.google.common.io.Files , and it is not compiling because of a missing pom dependency entry, how can I find the specific dependency to add to my pom, with minimum fuss?例如,如果我有import com.google.common.io.Files ,并且由于缺少 pom 依赖项而未编译,我如何才能找到要添加到我的 pom 的特定依赖项,而不是大惊小怪?

I know of the existence of search.maven.org , but sometimes that is unhelpful.我知道search.maven.org的存在,但有时这无济于事。

As you have said, the search.maven.org is the best answer.正如您所说,search.maven.org 是最佳答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM