[git-users] Re: Configuring SCM for github

2014-03-19 Thread Eric Kolotyluk

Ok, adding


  github.com
  kolotyluk
  /secret/


to settings.xml did the trick. Many thanks Stephen, and Russell.

Russell, this would be a good step to add to Video6_3.mp4

Why is ssh better than https?

Cheers, Eric


On 3/19/2014 12:30 PM, Stephen Connolly wrote:

On Wednesday, 19 March 2014, Eric Kolotyluk 
wrote:


Now I have

   
https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/
java-file-utilities.git


I favour the ssh variant of the GitHub URL



   

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  in my settings.xml file for github?


Yes



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.

  
  https://github.com/meterware/simplestub.git
  scm:git:https://github.com/meterware/
simplestub.git
  scm:git:https://github.com/meterware/simplestub.git

  

On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk 
wrote:

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

   
scm:git:http://github.com/kolotyluk/java-file-utilities

scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:https://github.com/kolotyluk/
java-file-utilities
 java-file-utilities-0.0.1
   

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 

Come read my webnovel, Take a Lemon ,
and listen to the Misfile radio play !










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




--
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.


[git-users] Re: Configuring SCM for github

2014-03-19 Thread Eric Kolotyluk

Now I have

  
https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
scm:git:https://github.com/kolotyluk/java-file-utilities.git
  

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  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.

 
 https://github.com/meterware/simplestub.git
 
scm:git:https://github.com/meterware/simplestub.git
 
scm:git:https://github.com/meterware/simplestub.git
 

On Mar 19, 2014, at 2:58 PM, Eric Kolotyluk  wrote:


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

  
scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:http://github.com/kolotyluk/java-file-utilities
scm:git:https://github.com/kolotyluk/java-file-utilities
java-file-utilities-0.0.1
  

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 


Come read my webnovel, Take a Lemon ,
and listen to the Misfile radio play !










--
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.