1

I want to get all the maven dependencies list for a directory containing multiple projects. I can go inside each project and use command mvn dependency:tree and consolidate all of them manually.

Is there anyway (script or command) i can get consolidate list for all the project dependencies within parent directory.

Thanks for help.

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
subro
  • 104
  • 2
  • 15

1 Answers1

1

You can define a dummy project, add all your projects as dependencies and then call dependency:list on this dummy project.

J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142