Hi,
Have a look at http://jira.codehaus.org/browse/SCM-428
Perso, I use url as :
<scm>
<connection>scm:git:git://github.com/olamy/scm-git-test-one-module.git</connection>
<developerConnection>scm:git:[email protected]:olamy/scm-git-test-one-module.git</developerConnection>
</scm>
Sample projects I have when trying git integration in scm and release
are here : http://github.com/olamy/
--
Olivier
2009/3/25 Wendy Smoak <[email protected]>:
> I just tried releasing a project hosted on github, and I got:
>
> [ERROR] org.apache.maven.shared.release.scm.ReleaseScmCommandException:
> Unable to commit files
> Provider message:
> The git-push command failed.
> Command output:
> fatal: protocol error: expected sha/ref, got '
> *********'
>
> You can't push to git://github.com/user/repo.git
> Use [email protected]:user/repo.git
>
> *********'
>
> Continuum is using the <connection> instead of the
> <developerConnection> url. This works to check out and build, but not
> to release. (This is CONTINUUM-598.)
>
> When I switch to the developer connection url, it doesn't work to
> check out (probably due to the colon.)
>
> SCM Root URL: scm:git:git://github.com:wsmoak/abc-example.git
> ...
> Exception:
> For input string: "wsmoak"
>
> Any ideas? I imagine this has to be fixed in Maven SCM, right?
>
> --
> Wendy
>