通过maven命令手动上传jar私服Nexus

Nexus3在界面上传组件时报:
Ext.JSON.decode(): You're trying to decode an invalid JSON String:
在这里插入图片描述
查找了很多资料,都没有解决。有哪位大佬知道的评论告诉一下,万分感谢。

于是换成maven命令上传:

mvn deploy:deploy-file -DgroupId=com.kexuexiong -DartifactId=demo-test -Dversion=1.1.0-RELEASE -Dpackaging=jar -Dfile=example-1.1.jar -Durl=http://admin:[email protected]:8081/repository/maven-releases/

执行之后:
在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_22744093/article/details/134434491
今日推荐