确定pom.xml依赖项的许可证的工具 [英] Tool to determine licenses for pom.xml dependencies
本文介绍了确定pom.xml依赖项的许可证的工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一个工具,该工具提供了一个maven pom.xml文件,该文件可以告诉我依赖项所使用的所有许可证(并递归地依赖于它们).这样的东西存在吗?
I'm looking for a tool that given a maven pom.xml file tells me all the licenses that are used by the dependencies (and recursively their dependencies). Does such a thing exist?
理想情况下它会告诉我:
Ideally it would tell me:
- 对于每个依赖项,所有适用的许可证
- 所引用的不同许可证的摘要列表.
推荐答案
您看过maven-dependency-plugin吗?
Did you have a look at the maven-dependency-plugin?
在报告中,它不仅列出了所有(传递)依赖项,而且还按许可证对它们进行了分组,如您在其自己的
In the report it does not only list all the (transitive) dependencies, but also groups them by licenses, as you can see in its own report.
这篇关于确定pom.xml依赖项的许可证的工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文