Installing Apache Maven
跳到导航
跳到搜索
Installing Apache Maven
xport PATH=/opt/apache-maven-3.8.2/bin:$PATH # on my kali vim /etc/profile export PATH=/usr/local/maven3/bin/:$PATH source /etc/profile
国内源
国内源 在maven目录下,conf/settings.xml,在<mirrors></mirros>里添加 就是在最后一个 </mirror>前面添加就对了 阿里 <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> 开源中国 <mirror> <id>nexus-osc</id> <mirrorOf>*</mirrorOf> <name>Nexusosc</name> <url>http://maven.oschina.net/content/groups/public/</url> </mirror>
https://maven.apache.org/install.html