I know we can download the dependency jars... but can we download the parent poms of all dependency jars?
For example Project A brings in library B as dependency, but library B has parent pom C.xml.
I want to find a command that downloads all pom.xml in Bs and C.xml.
ideally if C.xml has another parent pom D.xml, I want to download that too.
The answer by prunge shows you have to download them using dependency plugin. If you are just curious to see those poms, maven does download them to the local cached copy of the repo. Just go to .m2/repoistory and you will find them as -.pom. The file is name as .pom and is actually the pom.xml for that particular artifact