Get ready
You have to install Maven first if you do not click on the subsequent connection to view one or two steps. http://www.cnblogs.com/luoruiyuan/p/5776558.html
1. Under any directory, create a folder under which a Pom.xml file, a bat batch script, is created.
2. Select the bat batch script right-click Edit and copy the following:
Call Mvn-f Pom.xml Dependency:copy-dependencies@pause
3.pom.xml does not need to be as complex as the actual project, as shown below
<?xml version= "1.0"? ><project xmlns= "http://maven.apache.org/POM/4.0.0" xmlns:xsi= "http://www.w3.org/ 2001/xmlschema-instance "xsi:schemalocation=" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/ Maven-4.0.0.xsd "> <modelVersion>4.0.0</modelVersion> <groupid>temp.download</ groupid> <artifactId>temp-download</artifactId> <version>1.0-snapshot</version > <dependencies> <!--need to download what jar package to add the rest of the dependencies without worrying about-- <dependency> <groupid >org.jasig.cas</groupId> <artifactId>cas-client-core</artifactId> <version> 3.1.10</version></dependency> </dependencies></project>
4. Finally double-click the Run bat script.
(Bat script for Windows systems.) If you are using a different system, the MAVEN command in BAT is the same, you can go to the appropriate directory from the command line and run the MAVEN command, or run it in a different script.
The target folder will be added under the bat sibling directory, with a dependency folder underneath it, which is the jar package you want.
Download the jar package from Maven