mave 的配置

检出项目遇到问题:

Could not calculate build plan: Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2): Access denied to http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.7.1/maven-surefire-plugin-2.7.1.pom. Error code 407, Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied.  ) log4j-test01 Unknown Maven Problem

解决问题settings.xml配置文件里面的仓库没有找到

方法:
cd ~

ls -al

cd home

cd .m2

vi settings.xml

把项目中的settings.xml拷过来修改:

添加这句话<localRepository>~/.m2/repository</localRepository>

然后在eclipes里面进行配置:

最新文章

  1. git操作---更新删除
  2. 浅谈js的事件冒泡机制
  3. 20140207 - Java and Mac OS X Retina
  4. services 文件
  5. php session的存放目录,再次回顾
  6. .NET基础:C#静态构造函数、静态方法、静态属性
  7. chrome代理服务器设置
  8. Ajax从服务器端获取数据---原生态Ajax
  9. 使用hadoop ecipse插件须要注意的问题
  10. struts2对action中的方法进行输入校验(2)
  11. homebrew for mac
  12. iOS 环信透传cmd消息多次重复接收,解决办法
  13. 鸟哥的linux私房菜学习-(五)Linux系统的在线求助man page与info page
  14. dp,px,pt,sp 的区别 以及dp 和 px 互转
  15. C. Polycarp Restores Permutation
  16. 项目冲刺Third
  17. boost 线程安全队列
  18. Centos7新装配置, 并使用openvpn client长连接远程备份
  19. 详解Oracle多种表连接方式
  20. MTCNN(Multi-task convolutional neural networks)人脸对齐

热门文章

  1. linux log find 查询
  2. metaq
  3. 详解iOS多线程 (转载)
  4. Spark 3000门徒第一课随笔
  5. SharePoint 2010 设置宽度1024px
  6. My First Django Project - &lt;Django + MySQL + Ajax&gt; (1)
  7. 63.Assignment to name ignored, since the identifier is never used
  8. pb中sql语句用to_char查询出来数据,居然无法检索出数据,oracle数据库,这是什么原因?
  9. 立即执行函数(IIFE)的理解与运用
  10. C# 非独占延时函数 非Sleep