打开maven安装目录下的setting.xml

<servers>
<server>
<id>nexus</id>
<username>admin</username>
<password>admin123</password>
</server>
<server>
<id>nexus-releases</id>
<username>admin</username>
<password>admin123</password>
</server>
<server>
<id>nexus-snapshots</id>
<username>admin</username>
<password>admin123</password>
</server> </servers> <mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://127.0.0.1:8081/repository/maven-public</url>
</mirror> </mirrors> <profiles> <profile>
<repositories>
<repository>
<id>nexus</id>
<name>Team Nexus Repository</name>
<url>http://nexus-release</url>
<releases><enabled>true</enabled> </releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>nexus</id>
<name>Team Nexus Repository</name>
<url>http://nexus-release</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</pluginRepository>
</pluginRepositories>
</profile> </profiles> <activeProfiles>
<activeProfile>nexus</activeProfile>
</activeProfiles>

最新文章

  1. 【安装PHP】如何在openSUSE42.1下编译安装PHP7
  2. [转]GC简介
  3. SSH整合(struts2.3.24+hibernate3.6.10+spring4.3.2+mysql5.5+myeclipse8.5+tomcat6+jdk1.6)
  4. struts2一些概念介绍和标签的使用
  5. xshell 通过ssh连接 ubuntu15_x64
  6. 228. Summary Ranges
  7. oracle中存储过程的使用
  8. leetcode Letter Combinations of a Phone Number python
  9. C# &amp; WPF 随手小记之一 ——初探async await 实现多线程处理
  10. 【Java集合系列】---总体框架
  11. ajax存在跨域问题,为什么浏览器不允许js跨域请求?
  12. jpa 原生查询createNativeQuery里面有冒号保留字关键字的问题
  13. 关于Cookie跨域的问题
  14. .NetCore利用Swagger生成 XML文档需要注意生成路径的地址
  15. N皇后问题【递归求解】
  16. ActiveMQ发布-订阅消息模式
  17. UILabel 字体下方加下划线
  18. 隐马尔可夫模型(Hidden Markov Model)
  19. JAVA生成解析二维码
  20. 阿里云两台服务器之间拷贝文件命令scp

热门文章

  1. 原创:shell两个整数的比较 思想版
  2. python 网络编程篇
  3. 事件捕获 &amp; 事件冒泡
  4. uva12265 Selling Land
  5. python基础一day3 字符串
  6. 和为S
  7. 为什么我的 app:actionViewClass=&quot;android.widget.SearchView&quot;和app:showAsAction=&quot;ifRoom|collapseActionView&quot;才有
  8. Qt _六天的学习路线
  9. JavaSE-30 BigDecimal类的使用
  10. ProxyFactory