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

最新文章

  1. VC++ LoadLibrary失败,错误126(找不到指定的模块)
  2. INSTALL_FAILED_INSUFFICIENT_STORAGE
  3. Step by step configuration of Outgoing Emails from SharePoint to Microsoft Online
  4. 百度HTTPS加密搜索有什么用?
  5. xmpp搭建服务器
  6. 解决高版本 Google Chrome 扩展程序强制停用问题 -摘自网络
  7. Bootstrap-模态框Modal使用
  8. android卸载反馈实现
  9. 轻量级弹出框 lightbox
  10. &lt;button&gt;与&lt;input type=&quot;button&quot;&gt;的区别
  11. 【转】awk 数组用法【精华贴】
  12. 奶瓶beini系统
  13. mongodb备份还原脚本
  14. css-reset 代码
  15. Operating system error 32(failed to retrieve text for this error. Reason: 15105)
  16. oracle数据库的简单操作
  17. h5在手机端实现简单复制
  18. mybatis做if 判断 传入值0 建议最好不要使用值0
  19. python独角兽 Flask + Gunicorn
  20. 【HMM】隐马尔科夫模型

热门文章

  1. Codeforces 506E - Mr. Kitayuta&#39;s Gift(神仙矩阵乘法)
  2. Codeforces 288E - Polo the Penguin and Lucky Numbers(数位 dp+推式子)
  3. plink 进行PCA分析
  4. Shell 变量嵌套
  5. CMakeLists.txt添加多个源代码
  6. 生产调优3 HDFS-多目录配置
  7. 日常Java 2021/11/13
  8. accent, access, accident
  9. Scala(六)【模式匹配】
  10. vue3 使用 data、computed、methods