maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Kolotyluk <eric.koloty...@gmail.com>
Subject Re: Configuring SCM for github
Date Fri, 04 Apr 2014 17:30:30 GMT
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 <eric.kolotyluk@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-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@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/>!
>
>
>
>
>
>
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message