我们最近从svn迁移到git,在尝试创建发布版本时,我们面临一些挑战。如果有人对以下错误有任何解决方案,请建议。
无法执行目标 org.codehaus.mojo:buildnumber-行家-插件:1.0-β-4:创建 项目ebcm-jar上的(generate-buildnumber):无法获取分支 来自scm存储库的信息:
没有这样的提供者:' git'。
pom中的SCM详细信息 - >
Properties.Settings.Default.startUp = (byte)cmbStart.SelectedIndex;
当前版本插件配置 - >
<scm>
<connection>scm:git:https://stash.gto.intranet.com:8081/scm/application.git</connection>
<developerConnection>scm:git:https://stash.gto.intranet.com:8081/scm/application.git</developerConnection>
<url>https://stash.gto.intranet.com:8081/scm/application</url>
</scm>
尝试过搜索和尝试类似帖子中的多个选项,但似乎无法修复它。
http://maven.40175.n5.nabble.com/No-such-provider-git-td83846.html
Maven SCM Plugin: Git SSH provider not found
到目前为止已经验证了网址,插件版本,验证了gitexe提供程序下载的依赖项,尝试使用ssh网址代替https
也遇到过这篇文章,那么Git Flow是唯一的选择吗? https://blog.avisi.nl/2015/04/07/improved-releasing-with-maven-and-git/