1
votes

I have one maven dependency and which i mentioned in POM.xml of the project. The dependency jar dependent on few other jars. How can we make Maven download the chain of dependencies?

Where are Gradle downloads all the dependents for the jar.

Help will be greatly appriciated.

Thanks,

Pradeep

1
use mvn clean install to download dependencies. - soorapadman
Perhaps what you want to do is this: stackoverflow.com/questions/4955635/… - Yuri-M-Dias
Agree with Soora. If the dependency you put in the pom is available in maven central repository. It should be downloaded after you run " mvn install " - jiming

1 Answers

1
votes

In order to download the dependencies, you can execute

mvn dependency:copy-dependencies

After running it you will get all downloaded dependencies located under target/dependency folder