Reloading maven

Reloading reasons: replacing the old version!

 

First, delete the folder maven 

Second, delete the local repository file

Third, relevant before you delete items (not required)

Fourth, download a new web site

https://maven.apache.org/download.cgi

 But here only the latest version, how to download an older version of maven, need to turn to the bottom of the URL

Previous Releases

 

 

 Click archives

Select the required version, such as 3.6.0

 

 Click binaries

 

 Click apache-maven-3.6.0-bin.zip is that of 8.7M

Fifth, after the installation is complete catalog is subject to change, modify environment variables

Of course, basically there will be changes, unless manually.

Sixth, reinstall, see Maven installation and configuration IDEA

 

 

In fact, there is always a lot of problems when you configure the environment, because most of them are his own stupid @ - @

For example, this time I forget to change the setting in the mirror, cause I did not sleep at noon!

 

 

Guess you like

Origin www.cnblogs.com/lbrs/p/11617520.html