Maven配置阿里云镜像仓库地址
1.找到maven所在位置
2.进入conf文件夹,使用编译工具打开settings.xml配置文件。
3.Ctrl+F全文搜索mirrors标签,在<mirrors> </mirrors>标签中添加阿里云镜像
<!-- mirror 阿里云加速仓库镜像-->
  <mirror>
    <id>nexus-aliyun</id>
    <mirrorOf>central</mirrorOf>
    <name>Nexus aliyun</name>
    <url>http://maven.aliyun.com/nexus/content/qroups/public</url>
  </mirror>maven配置JDK编译版本,这里采用的jdk1.8
1.Ctrl+F 在settings.xml配置文件中搜索profiles标签并加入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>








