1、配置本地库路径

<localRepository>C:/fyliu/mvn/repo</localRepository>

2、配置中央仓库

    <mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<mirror>
<id>nexus</id>
<name>internal nexus repository</name>
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>uk</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>

3、指定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>

最新文章

  1. Dijkstra算法优先队列实现与Bellman_Ford队列实现的理解
  2. 关于windows 7 安装Vim的安装步骤介绍。——Arvin
  3. 3.从Node.js操作MongoDB文档
  4. 1531: [POI2005]Bank notes二进制优化(c++)
  5. Queue插入的时候报错:源数组长度不足。请检查 srcIndex 和长度以及数组的下限。
  6. node.js之看懂package.json依赖库版本控制
  7. 初学require.js
  8. TYVJ P1056 能量项链 Label:环状区间DP
  9. shell脚本例子集锦(习题总结)
  10. 【转】linux mknod命令解析
  11. EntityFramwork6连接MySql错误
  12. Java笔记(二十八)&hellip;&hellip;IO流下 IO包中其他常用类以及编码表问题
  13. Swift - 30 - 可变参数
  14. 收敛 p75
  15. css3 linear-gradient渐变效果及兼容性处理
  16. 改善python程序的建议[转]
  17. WPF中修改DataGrid单元格值并保存
  18. 你不知道的JavaScript——第一章:作用域是什么?
  19. Pandas 基础(6) - 用 replace() 函数处理不合理数据
  20. zookeeper-03 命令行操作

热门文章

  1. jprofiler 监听远程java项目
  2. PHP 下载+安装
  3. jenkins集成python的单元测试
  4. reactjs 的 css 模块化工具 styled-components 升级后 createGlobalStyle 废除,使用 createGlobalStyle 的方案
  5. jQuery_CSS类操作
  6. [jmeter] : http采样器 Parameters、Body Data使用区别
  7. ServletConfig接口
  8. sqli-labs(1)
  9. java中 在一个异常处理中什么语句块是可多个的
  10. Java并发编程的艺术笔记(四)——ThreadLocal的使用