You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jeff <pr...@gmail.com> on 2013/03/22 00:10:17 UTC
Git settings for maven release plugin...
My release:prepare is failing when it tries the following:
git push ssh://git@github.com:MyOrg/apps-thor.git releaseBranch:releaseBranch
With the following error:
ssh: Could not resolve hostname github.com:MyOrg: Name or service not known
It also fails on the command line. If i remove the "ssh://" it works.
I think it is one of the values in my <scm/> section but I think I'm
following the pattern correctly based on
http://maven.apache.org/scm/git.html . Here are my settings.
<scm>
<connection>scm:git:ssh://git@github.com:MyOrg/apps-thor.git</connection>
<developerConnection>scm:git:ssh://git@github.com:MyOrg/apps-thor.git</developerConnection>
<url>git@github.com:MyOrg/apps-thor.git</url>
</scm>
Am I missing something obvious?
Regards!
--
Jeff Vincent
See my LinkedIn profile at:
http://www.linkedin.com/in/rjeffreyvincent
I ♥ DropBox <http://db.tt/9O6LfBX> !!
Re: Git settings for maven release plugin...
Posted by Mirko Friedenhagen <mf...@gmail.com>.
You may try replacing the colon between host and orgname with a slash /.
Regards Mirko
--
Sent from my mobile
On Mar 22, 2013 12:11 AM, "Jeff" <pr...@gmail.com> wrote:
> My release:prepare is failing when it tries the following:
>
> git push ssh://git@github.com:MyOrg/apps-thor.git
> releaseBranch:releaseBranch
>
>
> With the following error:
>
>
> ssh: Could not resolve hostname github.com:MyOrg: Name or service not
> known
>
>
> It also fails on the command line. If i remove the "ssh://" it works.
> I think it is one of the values in my <scm/> section but I think I'm
> following the pattern correctly based on
> http://maven.apache.org/scm/git.html . Here are my settings.
>
>
> <scm>
>
> <connection>scm:git:ssh://git@github.com:
> MyOrg/apps-thor.git</connection>
>
> <developerConnection>scm:git:ssh://git@github.com:
> MyOrg/apps-thor.git</developerConnection>
>
> <url>git@github.com:MyOrg/apps-thor.git</url>
>
> </scm>
>
>
> Am I missing something obvious?
>
>
> Regards!
>
>
> --
>
> Jeff Vincent
> See my LinkedIn profile at:
> http://www.linkedin.com/in/rjeffreyvincent
> I ♥ DropBox <http://db.tt/9O6LfBX> !!
>
Re: Git settings for maven release plugin...
Posted by Anders Lindgren <an...@cinnober.com>.
http://www.sonatype.com/people/2009/09/maven-tips-and-tricks-using-github/
using scm:git:git should do the trick.
/Anders
On Fri, 2013-03-22 at 00:10 +0100, Jeff wrote:
> <scm>
> <connection>scm:git:ssh://git@github.com:MyOrg/apps-thor.git</connection>
> <developerConnection>scm:git:ssh://git@github.com:MyOrg/apps-thor.git</developerConnection>
> <url>git@github.com:MyOrg/apps-thor.git</url>
> </scm>
> Am I missing something obvious?
>
>
> Regards!
>
>