maven home
This is where maven is located. You can use the IDE that comes with it, or you can download and configure it yourself.
user profile
This is usually in \usr.m2\settings.xml or maven\conf\settings.xml, but this file does not necessarily exist, and changes to the remote warehouse are operated from this file.
Just add the following code between and <mirrors>
.</mirrors>
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
The above way is to configure the maven configuration file.
Configure maven remote warehouse in idea
IDEA's directory \plugins\maven\lib\maven3\conf\settings.xml
Copy the settings.xml here to \usr.m2\settings.xml, then modify the file and add the above code. Then you need to configure it in IDEA:
File-Settings-Build, Execution, Deployment-Build Tools-maven, select Bundled (Maven 3) for maven home directory, and then check override.
local warehouse
It is the local maven repository address.