博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
上传jar包到nexus私服
阅读量:2385 次
发布时间:2019-05-10

本文共 2263 字,大约阅读时间需要 7 分钟。

进入maven管理页面,登录管理员账号

 

完成后可以进入对应目录下查看pom依赖

通过maven的方式depoly

在maven的conf/setting.xml 配置nexus私服的管理账号

在servers标签下添加server

nexus-snapshots
repouser
repopwd

id可自己定义一个名称  以及私服的管理管的账号密码

在mirrors和profiles下配置nexus私服

 

nexus
*
http://192.168.10.8:18080/nexus/content/repositories/releases/
nexus
nexus
local private nexus
http://192.168.10.8:18080/nexus/content/groups/public
true
always
warn
false
nexus
local private nexus
http://192.168.10.8:18080/nexus/content/groups/public
true
always
warn
false
nexus

在项目的pom.xml中配置

nexus-releases
Nexus Release Repository
http://192.168.10.8:18080/nexus/content/repositories/releases/
nexus-snapshots
Nexus Snapshot Repository
http://192.168.10.8:18080/nexus/content/repositories/snapshots/

 

id与settings.xml中的server的id对应

当项目package后

mvn deploy

 

posted @
2018-06-08 17:22 阅读(
...) 评论(
...)

转载地址:http://crcab.baihongyu.com/

你可能感兴趣的文章
Win10家庭版DOCKER安装(上)
查看>>
Win10家庭版DOCKER安装(下)
查看>>
docker 图形化管理工具Kitematics
查看>>
unittest单元测试框架总结
查看>>
command 'x86_64-linux-gnu-gcc' failed with exit status 1
查看>>
浅谈前端SPA(单页面应用)
查看>>
Insecure default in Elasticsearch enables remote code execution
查看>>
how to use this bugs unserialize()
查看>>
PHP5 Globals Vulnerability
查看>>
关于php包含Apache日志的随想
查看>>
Grep与web漏洞挖掘
查看>>
正则表达式使用详解
查看>>
引用函数magic_quotes_gpc和magic_quotes_runtime的区别和用法(新手推荐)
查看>>
编写不受魔术引号影响的php应用
查看>>
PHP开发安全设置
查看>>
Php Endangers - Remote Code Execution
查看>>
变量的变量,PHP和你
查看>>
PROC系列之四---/proc/loadavg
查看>>
ettercap
查看>>
HOWTO: Service banner faking
查看>>