<!-- 指定本地默认仓库 -->
  <localRepository>G:\Java\apache-maven-3.5.2\repository</localRepository>
    <!-- 国内远程仓库:阿里云镜像 -->
        <mirror>
            <id>alimaven</id>
            <name>aliyun maven</name>
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
            <mirrorOf>central</mirrorOf>
        </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>

 

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-22
  • 2021-12-23
  • 2022-02-07
猜你喜欢
  • 2022-02-21
  • 2021-10-13
  • 2022-12-23
  • 2022-12-23
  • 2021-05-10
  • 2021-11-24
  • 2022-03-02
相关资源
相似解决方案