nexus-3本地下载jar的settipng.xml配置
2024-10-20 08:39:02
打开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>
最新文章
- 【安装PHP】如何在openSUSE42.1下编译安装PHP7
- [转]GC简介
- SSH整合(struts2.3.24+hibernate3.6.10+spring4.3.2+mysql5.5+myeclipse8.5+tomcat6+jdk1.6)
- struts2一些概念介绍和标签的使用
- xshell 通过ssh连接 ubuntu15_x64
- 228. Summary Ranges
- oracle中存储过程的使用
- leetcode Letter Combinations of a Phone Number python
- C# &; WPF 随手小记之一 ——初探async await 实现多线程处理
- 【Java集合系列】---总体框架
- ajax存在跨域问题,为什么浏览器不允许js跨域请求?
- jpa 原生查询createNativeQuery里面有冒号保留字关键字的问题
- 关于Cookie跨域的问题
- .NetCore利用Swagger生成 XML文档需要注意生成路径的地址
- N皇后问题【递归求解】
- ActiveMQ发布-订阅消息模式
- UILabel 字体下方加下划线
- 隐马尔可夫模型(Hidden Markov Model)
- JAVA生成解析二维码
- 阿里云两台服务器之间拷贝文件命令scp
热门文章
- 原创:shell两个整数的比较 思想版
- python 网络编程篇
- 事件捕获 &; 事件冒泡
- uva12265 Selling Land
- python基础一day3 字符串
- 和为S
- 为什么我的 app:actionViewClass=";android.widget.SearchView";和app:showAsAction=";ifRoom|collapseActionView";才有
- Qt _六天的学习路线
- JavaSE-30 BigDecimal类的使用
- ProxyFactory