A couple things I can think of:
- user credentials are wrong
- url to server is wrong
- user does not have access to the deployment repository
- user does not have access to the specific repository target
- artifact is already deployed with that version if it is a release (not -SNAPSHOT version)
- the repository is not suitable for deployment of the respective artifact (e.g. release repo for snapshot version, proxy repo or group instead of a hosted repository)
在项目中,版本名称后缀为:-RELEASE。如上所述,此后缀版本,不允许覆盖。如果一定要提交,要么删除私服上已经存在的版本,要么升级版本重新发布。