Set the maven configuration in IDEA as a global configuration

Since it is very troublesome to manually modify the maven configuration every time a new project is created, after modifying to the global configuration, each new project will use our global configuration, and there is no need to modify it, so the global setting process is recorded as follows

1. Open IDEA, if the project is open, please close the project first, as follows

 2. Select Customize and open all settings, as shown in the screenshot below:

 We select the items in 3, 4, and 5 in turn, and enter the maven configuration page. You can see that the red box is the default global configuration. We can modify it to our own configuration. Finally, click Apply. Note that the user setting file and the local Warehouse, remember to check rewrite

 Some students interface is in English, if you need to switch to Chinese, search for Chinese in the marketplace in the plug-in, and install the Simplified Chinese version

 

Guess you like

Origin blog.csdn.net/yunxiaobaobei/article/details/129589866