IDEA配置连接(自建Maven仓库)私服并打包上传
2024-09-03 09:10:21
maven的setting.xml文件配置
在servers标签里配置
<server> <id>privete_maven</id>
<!--账号密码需要与私服登录账号密码一致-->
<username>admin</username>
<password>123456</password>
</server>
在项目的pom.xml文件增加 这里的ID要和上面的ID对应
<distributionManagement>
<repository>
<id>privete_maven</id>
<name>Nexus Release Repository</name>
<url>http://192.168.1.2:8010/nexus/repository/maven-releases/</url>
</repository>
</distributionManagement>
然后点击deploy
最新文章
- VC++ LoadLibrary失败,错误126(找不到指定的模块)
- INSTALL_FAILED_INSUFFICIENT_STORAGE
- Step by step configuration of Outgoing Emails from SharePoint to Microsoft Online
- 百度HTTPS加密搜索有什么用?
- xmpp搭建服务器
- 解决高版本 Google Chrome 扩展程序强制停用问题 -摘自网络
- Bootstrap-模态框Modal使用
- android卸载反馈实现
- 轻量级弹出框 lightbox
- <;button>;与<;input type=";button";>;的区别
- 【转】awk 数组用法【精华贴】
- 奶瓶beini系统
- mongodb备份还原脚本
- css-reset 代码
- Operating system error 32(failed to retrieve text for this error. Reason: 15105)
- oracle数据库的简单操作
- h5在手机端实现简单复制
- mybatis做if 判断 传入值0 建议最好不要使用值0
- python独角兽 Flask + Gunicorn
- 【HMM】隐马尔科夫模型
热门文章
- Codeforces 506E - Mr. Kitayuta&#39;s Gift(神仙矩阵乘法)
- Codeforces 288E - Polo the Penguin and Lucky Numbers(数位 dp+推式子)
- plink 进行PCA分析
- Shell 变量嵌套
- CMakeLists.txt添加多个源代码
- 生产调优3 HDFS-多目录配置
- 日常Java 2021/11/13
- accent, access, accident
- Scala(六)【模式匹配】
- vue3 使用 data、computed、methods