Mac Air maven 环境配置
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里面进行配置:
最新文章
- git操作---更新删除
- 浅谈js的事件冒泡机制
- 20140207 - Java and Mac OS X Retina
- services 文件
- php session的存放目录,再次回顾
- .NET基础:C#静态构造函数、静态方法、静态属性
- chrome代理服务器设置
- Ajax从服务器端获取数据---原生态Ajax
- 使用hadoop ecipse插件须要注意的问题
- struts2对action中的方法进行输入校验(2)
- homebrew for mac
- iOS 环信透传cmd消息多次重复接收,解决办法
- 鸟哥的linux私房菜学习-(五)Linux系统的在线求助man page与info page
- dp,px,pt,sp 的区别 以及dp 和 px 互转
- C. Polycarp Restores Permutation
- 项目冲刺Third
- boost 线程安全队列
- Centos7新装配置, 并使用openvpn client长连接远程备份
- 详解Oracle多种表连接方式
- MTCNN(Multi-task convolutional neural networks)人脸对齐
热门文章
- linux log find 查询
- metaq
- 详解iOS多线程 (转载)
- Spark 3000门徒第一课随笔
- SharePoint 2010 设置宽度1024px
- My First Django Project - <;Django + MySQL + Ajax>; (1)
- 63.Assignment to name ignored, since the identifier is never used
- pb中sql语句用to_char查询出来数据,居然无法检索出数据,oracle数据库,这是什么原因?
- 立即执行函数(IIFE)的理解与运用
- C# 非独占延时函数 非Sleep