[英]Maven perform error : SCM
I use maven-3.2.3 for my project. 我将maven-3.2.3用于我的项目。
When I execute mvn release:prepare
, everything is going well. 当我执行
mvn release:prepare
,一切进展顺利。
but after execute mvn release:perform
I have following error : 但是执行
mvn release:perform
我有以下错误:
No SCM URL was provided to perform the release from 没有提供SCM URL来执行发布
I have scm element in my pom.xml : 我的pom.xml中有scm元素:
<scm>
<url>scm:git:http://my-project-url/</url>
<connection>scm:git:http://my-project-url/</connection>
<developerConnection>scm:git:http://my-project-url/</developerConnection>
<tag>HEAD</tag>
</scm>
I dont understand why an error of SCM 我不明白为什么SCM错误
According to documentation your <url>
tag is incorrect. 根据文档,您的
<url>
标记不正确。 It should be simply http
, without scm:git
. 它应该只是
http
,没有scm:git
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.