简体   繁体   English

如何自动列出Java + React项目中使用的所有第三方组件?

[英]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.

相关问题 如何在TeamCity构建的Java项目中引用第三方jar库? - How do I reference third-party jar libraries into a Java project being built by TeamCity? 如何使用第三方 java 库 github 项目? - How do I make use of a third-party java library github project? 如何报告JVM中的所有异常,无论是自己的代码还是第三方代码? - How to report all exceptions in JVM, be it own or third-party code? 如何限制第三方Java方法的执行时间 - How to limit the execution time of a third-party Java method Java 中的第三方 API 包装器:如何设计 - Third-party API wrapper in Java: how to design 如何调试第三方Gradle插件? - How to debug a third-party Gradle plugin? Java 9 第三方模块«链接»,如何?,何时? -> java.lang.NoClassDefFoundError - Java 9 third-party module « linking », how?, when? -> java.lang.NoClassDefFoundError Android:如何从代码中禁用所有第三方应用程序的通知声音? - Android: How to disable the sound of all third-party apps' notifications from code? 如何在我自己的应用程序中禁用EditText中的所有第三方键盘? - How to disable all third-party keyboard in EditText in my own application? 如何在提交给ExecutorService的Task中处理第三方Java代码,以防它具有无限循环 - How to handle third-party Java code in a Task submitted to ExecutorService in case it has an infinite loop
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM