maven 使用问题汇总
2016-02-01 12:50
176 查看
1.修改中央仓库
1)从安装目录conf中复制setting文件,在里面添加
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
2)放在本地仓库目录中
3)Eclipse->window->Preferences->Maven->User Setting 中选择自己的setting文件,Apply即可
2. "Index downloads are disabled, search results may be incomplete."
"Window" --> "Preferences" and choose Maven in the left side.
Now you have to check the box "Download repository index updates on startup"
If no "Search Results"
"Window" ---> "Show View" ---> "Maven Repositories" ---> "Global Repositories"
chose "central" click right and "Update Index"
1)从安装目录conf中复制setting文件,在里面添加
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
2)放在本地仓库目录中
3)Eclipse->window->Preferences->Maven->User Setting 中选择自己的setting文件,Apply即可
2. "Index downloads are disabled, search results may be incomplete."
"Window" --> "Preferences" and choose Maven in the left side.
Now you have to check the box "Download repository index updates on startup"
If no "Search Results"
"Window" ---> "Show View" ---> "Maven Repositories" ---> "Global Repositories"
chose "central" click right and "Update Index"
相关文章推荐
- 搭建 React Native 开发环境
- java main方法背后的故事?(转)
- 探秘Java虚拟机——内存管理与垃圾回收(转)
- 第12篇 PSR-1规范
- Bugly iOS SDK 集成错误 _OBJC_CLASS_$_JSContext
- Amazon EC2上的高性能MongoDB集群
- java中三种常见内存溢出错误的处理方法(转)
- 二级菜单的制作
- java中的移位运算符:<<,>>,>>>总结(转)
- lua 函数回调技巧
- Java api 入门教程 之 JAVA的包装类
- Websocket即时通信应用开发 java部分
- Markdown 语法和 MWeb 写作使用说明
- Hadoop相关命令中的【--config configdir】
- 7.2 Models -- Defining Models
- springmvc静态化
- zzUnity内存申请和释放
- Leetcode题解(23)
- 利用POI实现Word和 Html互转(可以实现在线预览)
- 自动化的那些不为人知的事