4. Classification of maven warehouse, files and maven coordinates in the warehouse

4.1 Warehouse classification

  Local warehouse: Serve all Maven projects on the current local computer.

  Remote warehouse:
    Private server: Set up in the current LAN environment and serve all Maven projects within the current LAN.
    Central warehouse: erected on the Internet to serve all Maven projects worldwide.
    Mirror image of the central warehouse: It is installed on all continents to share the traffic for the central warehouse. Reduce the pressure on the central warehouse, while faster
4.2. Files in the warehouse
  Maven plugin
  Modules for projects we develop ourselves
  Jar packages for third-party frameworks or tools
4.3 Coordinates
  Maven uses the following three vectors to uniquely determine a jar package in the Maven repository.

<dependency>
  <groupId>junit</groupId>
  <artifactId>junit</artifactId>
  <version>4.12</version>
  <scope>test</scope>
</dependency>

Guess you like

Origin www.cnblogs.com/sunhao1234/p/12702674.html