I had a lot of issues using Git on Windows, especially combined with the Maven Release Plugin. It looks like that the issue is related to long path names.
It may be that your project has long nested paths (usually Java applications have this problem). Try to move your project to a shorter path, e.g. C:\prj. This will not fix the issue, but it works sometimes. By the way, I use a Linux VM to release stuff. Working on Windows is sad, overall. 2013/7/23 Baptiste MATHUS <[email protected]> > Hi, > Try not running in non batch mode to maybe get the message of what is being > waited for. > > I also see you're running git on windows. That might be part of the issue, > so also double check you use the latest maven-release-plugin version. > > cheers > Le 23 juil. 2013 10:04, "Adrien Ruffié" <[email protected]> a > écrit : > > > Hello all I have a small problem,**** > > > > ** ** > > > > I try to release a branch version of my project with following command > (-X > > is for debug only):**** > > > > ** ** > > > > Mvn -Darguments="-Dmaven.test.skip=true -Pdistribution-packaging" > > release:prepare --batch-mode -Dtag=Spring2013/005 > > -DreleaseVersion=Spring2013-005 > > -DdevelopmentVersion=Spring2013-006-SNAPSHOT –X**** > > > > ** ** > > > > but the background processes hang indefinitely on the last line of the > log > > file and I do not know why he did not direct, because the shots I did not > > get a release: perform**** > > > > ** ** > > > > Do you have an idea why the process block/lock over ?**** > > > > ** ** > > > > [INFO] Executing: cmd.exe /X /C "git commit --verbose -F > > C:\Users\A9532~1.RUF\AppData\Local\Temp\maven-scm-1142711596.commit > pom.xml > > myapp-webapp\pom.xml myapp-install-wizard\pom.xml"**** > > > > [INFO] Working directory: C:\Java\Workspaces\Indigo\myappcrm5**** > > > > [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"**** > > > > [INFO] Working directory: C:\Java\Workspaces\Indigo\myappcrm5**** > > > > [INFO] Executing: cmd.exe /X /C "git push ssh://git@rd1/myappcrm.git > > release/Spring2013:release/Spring2013"**** > > > > ** ** > > > > Great thank and best regards.**** > > > > ** ** > > > > Adrien**** > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > >
