标签:nexus ror art setting cts lips block 镜像 enc
①:下载maven压缩包,解压即可;
②:配置环境变量,MAVEN_HOME → E:\maven\apache-maven path %MAVEN_HOME%\bin;
③:设置maven本地仓库;
④:eclipse添加maven设置:window→preferences→maven
检测是否配置好的命令 cmd→mvn -version
settings.xml 拷贝到 c:/用户/abcd/.m2 里面。
本地仓库地址
<!-- localRepository
| The path to the local repository maven will use to store artifacts.
|
| Default: ${user.home}/.m2/repository
<localRepository>/path/to/local/repo</localRepository>
-->
<localRepository>A:\maven\repository</localRepository>
阿里的镜像:
<mirrors>
<id>aliyun maven</id>
<mirrorOf>*</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirrors>
标签:nexus ror art setting cts lips block 镜像 enc
原文地址:https://www.cnblogs.com/rempop/p/9647413.html