2

I have a maven multi module project A. This project has the sub modules B and C.

Now, I want to use the maven-dependency-plugin plugin to get all the dependencies of A, B and C, but without specifying A, B and C in my pom. I just want to call A.

If I just specify A, I don't get B's and C's dependencies.

Is this possible?

Eldad Assis
  • 10,464
  • 11
  • 52
  • 78
  • Can you show how you tried that (pom.xml) and furthermore what you like to achieve? – khmarbaise May 27 '13 at 06:44
  • It will take time to show example poms, so I'll tell you my end goal - I want to get all jars/wars used by my **A** project (and all its sub modules) so I can run some analysis on them. – Eldad Assis May 27 '13 at 08:03
  • If you have a moulti module project where A is your parent of the childs you can use that to get all the information. The question what kind of analysis you would like to run? Sonar ? – khmarbaise May 27 '13 at 11:19
  • I just want to collect all jars used by the project (all modules) so they can be analysed by a 3rd party tool (I don't care which tool...) – Eldad Assis May 27 '13 at 15:38

0 Answers0