Search code examples
javareactjscomponentsopen-source

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.

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? 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.

Searching S.O. I found related questions, but on other languages. 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.


Solution

  • You most likely have to configure the license check in the build tools that you are using: