If we want to download jars from command line according to pom.xml, we can write a .bat file which is in the same folder with pom.xml.
call mvn -f pom.xml dependency:copy-dependencies
@pause
Then click the bat file. It will download jars automatically into your local repo(~/usr/.m2)