Now I have

  <scm>
<url>https://github.com/kolotyluk/java-file-utilities.git</url>
<connection>scm:git:https://github.com/kolotyluk/java-file-utilities.git</connection>
<developerConnection>scm:git:https://github.com/kolotyluk/java-file-utilities.git</developerConnection>
  </scm>

But it still hangs...

  [INFO] Checking in modified POMs...
  [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
[INFO] Working directory: D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git status"
[INFO] Working directory: D:\Users\Eric\Software\Project\Repositories\java-file-utilities [INFO] Executing: cmd.exe /X /C "git commit --verbose -F C:\Users\Eric\AppData\Local\Temp\maven-scm-1007803688.commit pom.xml" [INFO] Working directory: D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: D:\Users\Eric\Software\Project\Repositories\java-file-utilities [INFO] Executing: cmd.exe /X /C "git push https://github.com/kolotyluk/java-file-utilities.git master:master" [INFO] Working directory: D:\Users\Eric\Software\Project\Repositories\java-file-utilities

In my experience, getting release to work is the hardest thing I have ever done in Maven. I struggled for weeks to get it working with Perforce correctly. This is my first time with Git.

Do I need to set up a <server> in my settings.xml file for github?

Cheers, Eric

On 3/19/2014 12:06 PM, Russell Gold wrote:
HI Eric, I think you are missing the ".git" extensions in your urls. Here's the 
ones I use.

     <scm>
         <url>https://github.com/meterware/simplestub.git</url>
         
<developerConnection>scm:git:https://github.com/meterware/simplestub.git</developerConnection>
         
<connection>scm:git:https://github.com/meterware/simplestub.git</connection>
     </scm>

On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk <eric.koloty...@gmail.com> wrote:

I am having trouble getting mvn release:prepare to work with github

  <scm>
<connection>scm:git:http://github.com/kolotyluk/java-file-utilities</connection>
<url>scm:git:http://github.com/kolotyluk/java-file-utilities</url>
<developerConnection>scm:git:https://github.com/kolotyluk/java-file-utilities</developerConnection>
    <tag>java-file-utilities-0.0.1</tag>
  </scm>

When I try to prepare the release I get

  [INFO] Checking in modified POMs...
  [INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git status"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git commit --verbose -F 
C:\Users\Eric\AppData\Local\Temp\maven-scm-559613294.commit pom.xml"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities
  [INFO] Executing: cmd.exe /X /C "git push 
https://github.com/kolotyluk/java-file-utilities master:master"
  [INFO] Working directory: 
D:\Users\Eric\Software\Project\Repositories\java-file-utilities

and mvn just hangs forever at that point. Is this a credentials problem or 
something else?

Cheers, Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

-----------------
Author, Getting Started with Apache Maven 
<http://www.packtpub.com/getting-started-with-apache-maven/video>

Come read my webnovel, Take a Lemon <http://www.takealemon.com>,
and listen to the Misfile radio play <http://www.fuzzyfacetheater.com/misfile/>!









--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to