且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Maven部署:使用-DaltDeploymentRepository进行部署

更新时间:2022-06-22 22:37:20

altDeploymentRepository字符串-指定项目要使用的备用存储库 应该部署构件(除了在< distributionManagement>中指定的构件). 格式:id :: layout :: url

altDeploymentRepository String - Specifies an alternative repository to which the project artifacts should be deployed ( other than those specified in <distributionManagement> ). Format: id::layout::url

()

因此,在您的情况下:releaseRepository::default::http://your.repo.url(有关布局,请参见此处)

So, in you case: releaseRepository::default::http://your.repo.url (see here for layout)