Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
2.5.2
-
None
-
None
Description
The documentation describing the scm format is at:
https://maven.apache.org/scm/git.html
and it suggests the format
scm:git:ssh://github.com/path_to_repository
Ours is similar to (redacted)
<scm> <url>https://github.com/mycompany/my_api/</url> <developerConnection>scm:git:ssh://git@github.com:mycompany/my_api.git</developerConnection> <connection>scm:git:ssh://git@github.com:mycompany/my_api.git</connection> </scm>
When the maven-release-plugin attempts to push, it specifies
Executing: /bin/sh -c cd /home/ssuehs/work/my_api && git push ssh://git@github.com:mycompany/my_api.git refs/heads/mvnreleasework:refs/heads/mvnreleasework
Note the ssh. In deed, executing this from an interactive command prompt also does not work.
Which is correct? The documentation? The plugin? Or could be I am just wrong.