开发者

Tool to determine licenses for pom.xml dependencies [duplicate]

开发者 https://www.devze.com 2022-12-11 21:22 出处:网络
This question already has answers here: maven report on licenses your project depends on [closed] (3 answers)
This question already has answers here: maven report on licenses your project depends on [closed] (3 answers) Closed 7 years ago.

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:

  • For each dependency all licenses that apply
  • A summary list of a different licenses referenced.


mvn project-info-reports:dependencies

then in target/site/dependencies.html you should see a pretty nice list of all your dependencies.

This is really taken from @Carsten, but I felt it was worth a full answer.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号