zoukankan      html  css  js  c++  java
  • maven 配置文件settings.xml设置

    打开这个配置文件

    在相应标签下配置这些内容

     1   //将中央仓库修改为阿里云的仓库
     2   <mirrors>
     3      <mirror>
     4         <id>nexus-aliyun</id>
     5         <mirrorOf>*</mirrorOf>
     6         <name>Nexus aliyun</name>
     7         <url>http://maven.aliyun.com/nexus/content/groups/public</url>
     8     </mirror>
     9   </mirrors>
    10   
    11   //修改默认新建项目jdk版本
    12   </profiles>
    13       <profile>    
    14         <id>jdk-1.8</id>    
    15         <activation>    
    16             <activeByDefault>true</activeByDefault>    
    17             <jdk>1.8</jdk>    
    18         </activation>    
    19         <properties>    
    20             <maven.compiler.source>1.8</maven.compiler.source>    
    21             <maven.compiler.target>1.8</maven.compiler.target>    
    22             <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>    
    23         </properties>    
    24     </profile>
    25   </profiles>
    26   
    27   //本地仓库地址
    28   <localRepository>D:/Repository</localRepository>

    这是我个人学习的一点记录!!!!!!!!!!!!!!!!

    做人如果没有梦想,那根咸鱼有什么区别!!!
  • 相关阅读:
    责任链模式(Chain of Responsibility)
    模板模式(Template Method)
    组合模式(Composite Pattern)
    原型模式(Prototype Pattern)
    策略模式(Strategy Pattern)
    状态模式(State Pattern)
    增删改查
    安卓sql
    安卓第三次作业
    安卓第四周作业
  • 原文地址:https://www.cnblogs.com/shaolixin/p/8308526.html
Copyright © 2011-2022 走看看