I have specified the following SCM tags in my pom.
However when I do a maven release:prepare
the tag created has a version 1.0-SNAPSHOT instead of 1.0
Any ideas?
<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>
BITBUCKET_CLONE_DIR. The absolute path of the directory that the repository is cloned into within the Docker container.
Ideally you would use SSH to authenticate when doing the release. In that case you would use the following configuration:
<scm>
<connection>scm:git:ssh://[email protected]/<username>/<repo>.git</connection>
<developerConnection>scm:git:ssh://[email protected]/<username>/<repo>.git</developerConnection>
<url>https://bitbucket.org/<username>/<repo>.git</url>
</scm>
You can also take a look at this example.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With