Maven Project Object Model (POM), a software project management tool that manages the build, reporting, and documentation of a project through a small piece of descriptive information .
To configure Maven under IntelliJ IDEA, you first need to install Maven on this machine. The download address is http://maven.apache.org/download.cgi
After downloading, unzip it to the directory specified by yourself (not the Chinese path), my path is D:\maven
Then configure the environment variables MAVEN_HOME and Path (edit instead of new)
In this way, maven is installed successfully, type mvn -v in cmd to view the result
Then start to configure Maven's local warehouse path, create a new LocalWarehouse directory under D:\maven, and then find setting.xml under conf to configure
Open setting.xml, add the following directory as the local warehouse path below the icon location, my path is as follows
<localRepository>D:\maven\LocalWarehouse</localRepository>
In this way, the local work of maven is done, and the configuration in IntelliJ IDEA is started.
打开idea,File->Settings->Build, Execution, Deployment->Build Tools
After the configuration is complete, click apply -> ok, so that maven is configured in IntelliJ IDEA.