If you configure JDK in eclipse or myeclipe, you can understand the maven configuration at a glance.
What exactly is Maven? I want to buy a Maven practice ASF another day. Simply put, it is the most simple application scenario to manage the resources required by a project in a unified manner.
Maven. After Maven is decompressed, a folder is saved in the selected directory.
Both eclipse and myeclipse have built-in Maven, which can be found in window-preferences,
But I don't know where the built-in Maven root directory is. I still need to download the configuration and click Add, just like adding JDK to Maven, the local storage path of the configuration file and jar package is specified.
- Global settings -- default c: \ Users \ sparow \. m2 \ Settings. XML, In the conf folder of the maven root directory
- User settings -- default c: \ Users \ sparow \. m2 \ Settings. XML, same as global settings
- Local repository -- local storage path of the jar package. The default value is c: \ Users \ sparow \. m2 \ repository, which can be changed in the configuration file: <localrepository>/path/to/local/repo </localrepository>. The Maven root directory can be used in the configuration file $ {Maven. home} representative
Everything is ready.
How to Create a Maven project, how to configure the Intranet address to store the jar package shared by the project, and how to use Maven to manage the shared resources of the project. Let's talk about it later ...... This is also my blind spot and will be added as soon as possible.