Dar*_*Var 16 git bitbucket maven maven-release-plugin
我在我的pom中指定了以下SCM标签.但是,当我release:prepare创建maven时,创建的标签的版本为1.0-SNAPSHOT而不是1.0
有任何想法吗?
<scm>
<connection>scm:git:https://<username>@bitbucket.org/<username>/<repo>.git</connection>
<developerConnection>scm:git:https://<username>@bitbucket.org/<username>/<repo>.git</developerConnection>
<url>https://bitbucket.org/<username>/<project></url>
</scm>
Run Code Online (Sandbox Code Playgroud)
jen*_*ens 25
理想情况下,在执行发布时,您将使用SSH进行身份验证.在这种情况下,您将使用以下配置:
<scm>
<connection>scm:git:ssh://git@bitbucket.org/<username>/<repo>.git</connection>
<developerConnection>scm:git:ssh://git@bitbucket.org/<username>/<repo>.git</developerConnection>
<url>https://bitbucket.org/<username>/<repo>.git</url>
</scm>
Run Code Online (Sandbox Code Playgroud)
您还可以查看此示例.