Download the jar package from Maven

Source: Internet
Author: User
Tags cas

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.