[英]How to automatically list all third-party components used in a java + React project?
For legal reasons we are required to provide a list of all open-source components used in our project. 出于法律原因,我们需要提供项目中使用的所有开源组件的列表。 It is a commercial java + React project using Gradle, npm and Yarn.
这是一个使用Gradle,npm和Yarn的商业Java + React项目。
In this context, do you know of any tool or automatic way to extract the list of distributed third-parties used in the java and/or javascript code base? 在这种情况下,您是否知道提取Java和/或javascript代码库中使用的分布式第三方列表的任何工具或自动方式? As it is a pretty large code base it would be quite impractical to do it by hand...
由于这是一个相当大的代码库,因此手工完成是不切实际的...
My best attempts so far are jdeps for the java code, and yarn list
for the javascript part... but they do not really do what I want. 到目前为止,我最好的尝试是将jdeps用于Java代码,并将
yarn list
用于javascript部分...但是它们并没有真正做到我想要的。
Searching SO I found related questions , but on other languages. 通过搜索SO我找到了相关的 问题 ,但是是其他语言。 I am not quite sure this is the right place to ask, but it seems to me that other people could face the same issue...
我不太确定这是问的正确地方,但在我看来,其他人也可能会遇到同样的问题...
Thank you. 谢谢。
You most likely have to configure the license check in the build tools that you are using: 您很可能必须在使用的构建工具中配置许可证检查:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.