Download the jar package using Maven

Source: Internet
Author: User

Some open source projects do not directly provide the download of the jar package, but instead recommend using maven download, take the Open Source Library hipster (https://github.com/citiususc/hipster,http://www.hipster4j.org/) as an example , the configuration for using Maven downloads is as follows:

<dependencies>  <!--    This dependency under your Pom.xml <dependencies>  Section to add all the    dependencies of hipster to your project. ADD hipster-core    instead of hipsterfor  core functionality.   -  <dependency>    <groupId>es.usc.citius.hipster</groupId>    <artifactid >hipster-all</artifactId>    <version>1.0.0</version>  </dependency></ Dependencies>

We can use idea to create a MAVEN project and then use the above configuration to download the hipster jar package. Here's how to use it:

1) Create a new project

2) Select Create Maven Project

3) GroupID and other information to fill in.

4) Fill in the project name

5) After the project is created, click the Pom.xml file in the project directory to see the contents of the file

6) Use <dependencies> tags to fill in hipster related <groupId> and <artifactid>, and <version>

7) When you are finished writing, click on "Maven Project" on the right, and the only things that appear are "Lifecycle" and "Plugins".

8) Click the Refresh button in the top left corner to start downloading the jar package that we specified, as shown on the left after the download is complete.

9)

Click on the "Maven Project" Settings button to view the storage path for the download jar package.

Download the jar package using 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.