如何在maven2中跟踪插件依赖项?

时间:2022-07-23 17:16:53

I am trying to locate an evil plugin that includes a stoneage version of a certain jar file. How do I do that ?

我试图找到一个邪恶的插件,其中包括某个jar文件的stoneage版本。我怎么做 ?

4 个解决方案

#1


13  

also, mvn -X will spit out all kinds of info, i believe it includes dependency versions.

另外,mvn -X会吐出各种信息,我相信它包含了依赖版本。

#2


20  

mvn dependency:resolve-plugins gives a list of dependencies for each plugin

mvn依赖:resolve-plugins给出了每个插件的依赖项列表

#3


-3  

mvn dependency:tree - shows you a tree of all dependencies including transitive dependencies

mvn dependency:tree - 显示所有依赖项的树,包括传递依赖项

#4


-3  

There is a more detailed answer here, including how to filter the dependency tree to just see the results you're interested in.

这里有一个更详细的答案,包括如何过滤依赖树,只看到你感兴趣的结果。

#1


13  

also, mvn -X will spit out all kinds of info, i believe it includes dependency versions.

另外,mvn -X会吐出各种信息,我相信它包含了依赖版本。

#2


20  

mvn dependency:resolve-plugins gives a list of dependencies for each plugin

mvn依赖:resolve-plugins给出了每个插件的依赖项列表

#3


-3  

mvn dependency:tree - shows you a tree of all dependencies including transitive dependencies

mvn dependency:tree - 显示所有依赖项的树,包括传递依赖项

#4


-3  

There is a more detailed answer here, including how to filter the dependency tree to just see the results you're interested in.

这里有一个更详细的答案,包括如何过滤依赖树,只看到你感兴趣的结果。