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