admin管理员组

文章数量:1549907

一、下载maven

链接:https://pan.baidu.com/s/1L3y2ym09Z1yQnMPi71HgKw 
提取码:wbvm 
复制这段内容后打开百度网盘手机App,操作更方便哦

二、配置阿里云镜像
在maven里面的conf目录下setttins.xml文件中找到标签对,进行修改

<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>

三、配置jdk打包版本

<profile>
    <id>jdk-1.8</id>
    <activation>
        <activeByDefault>true</activeByDefault>
        <jdk>1.8</jdk>
    </activation>
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
    </properties>
</profile>

四、配置本地依赖包路径

<localRepository>D:\maven3.6.1_home</localRepository>

本文标签: 下载地址阿里镜像版本百度网