How to download all dependency licenses?

I need to get a list of all dependencies and their licenses.

I’ve tried a couple of plugins thus far but they are in various states of not working…

It seems like my best option might be to generate the maven pom.xml and call the maven license plugin…

Any suggestions?