Deployment failed: repository element was not specified in the POM inside distributionManagement element or in -DaltDeploymentRepository=id::layout::url parameter
1. 没有指定仓库地址,就在项目pom里添加仓库或者-DaltDeploymentRepository。
2. 在setting.xml里指定了仓库,但是读取不到。maven-deploy-plugin版本2.8以下不会去setting.xml拉取配置,所以升级maven-deploy-plugin版本>=2.8。
最后
以上就是俊逸小天鹅最近收集整理的关于Maven问题汇总的全部内容,更多相关Maven问题汇总内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复