Just to follow up, Russel, the .git is incorrect in the <url> element,
and leads to problems when using
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
-----------------
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/>!