maven怎么安装第三方jar包到私服

 时间:2024-10-31 09:02:20

1、在maven的conf目录下的settings.xml配置文件中添加登录私服第三方登录信息<server><id>thirdparty</id><username>admin</username><password>admin123</password></server>

maven怎么安装第三方jar包到私服

2、打开cmd,进入jar包所在目录

maven怎么安装第三方jar包到私服

3、运行命令:mvn deploy:deploy-file -DgroupId=com.alibaba -DartifactId=fastjson -Dversion=1.1.37 -Dpa艘早祓胂ckaging=jar -Dfile=fastjson-1.1.37.jar -Durl=http://localhost:8081/nexus/content/repositories/thirdparty/ -DrepositoryId=thirdparty

maven怎么安装第三方jar包到私服
  • JAVA三大框架各自的作用是什么?
  • Hutool中如何截取字符串
  • 使用FastReport实现Web报表开发
  • weblogic11g的安装配置
  • vue-treeselect怎么使用
  • 热门搜索
    如何测量胸围 性激素六项是什么 分手之后怎么挽回 性福生活 生活污水处理设备 wifi怎么读音 打预防针发烧怎么办 阿弥陀佛是什么意思 完美生活网登录系统 hpv是什么意思