1

When I start:

mvn validate -Dmaven.repo.local=C:\my\.m2\repository dependency:resolve

I got list of jar to be downloading.

Downloading: http://nexus-bla-bla.com:8081/nexus/content/groups/release/junit/junit/4.8.2/junit-4.8.2.pom

Then next time I repeat my step and maven AGAIN downloading same pom/jar

So, I spend 2 minutes all the time even though there is nothing to download actually.

Why it happens? What should I do to just download all deps to my local repo when it's necessary only?

4

0 回答 0