maven download and configure
-
website https://maven.apache.org/ p> li>
-
click on the download
p> li>
-
in the Previous Choose archives of the Releases
p> li>
-
choose to download the version of the p>
into to the directory selected binaries, click the apache maven – 3.6.1 track – bin. To download and unzip the zip p> li> ol>
-
environment variable configuration of p>
add a new variable
p>
in the path configuration MAVEN_HOME % % \ bin
p>
maven – input in the CMD version to see success
p> li>
-
modify the configuration file p>
modify the apache maven – 3.6.1 \ conf \ Settings XML p>
-
specifies your warehouse location
<localRepository>D:\Java\apache-maven-3.6.1\repository</localRepository>
-
configuration mirror
<mirrors> <!-- 阿里云仓库 --> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/repositories/central/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>
li> ul> li>
-
the idea of maven associated Settings p>
choose from the menu file – Settings
-
-