Add a jar pack or pom file resource to a novice

Source: Internet
Author: User
Tags pack

Beginners Add jar packs or Maven project Pom file dependencies always do not know where to get, waste a lot of time, below tell you a resource library:

Resource pool: http://search.maven.org

http://mvnrepository.com/

Search for the resources you need as you need to:


We select the different file types that are required on the right

Here's how the jar pack and pom dependencies are introduced

About the introduction of jar packs:

Select Item----->build Path----->configure Build Path Click Add External JARs ... Select the jar package we need to rely on for our project to finally apply OK.


About adding Pom file dependencies "Note that you want to include a dependency package in a pair of dependency tags":

<dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId> junit</artifactid>
      <version>3.8.1</version>
      <scope>test</scope>
    < /dependency>
    
    <dependency>
      <groupId>org.apache.activemq</groupId>
      < artifactid>activemq-all</artifactid>
      <version>5.15.0</version>
    </dependency >
    
</dependencies>


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.