Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9A34FCD72 for ; Tue, 23 Jul 2013 12:00:04 +0000 (UTC) Received: (qmail 26218 invoked by uid 500); 23 Jul 2013 12:00:02 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 26027 invoked by uid 500); 23 Jul 2013 12:00:02 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 26019 invoked by uid 99); 23 Jul 2013 12:00:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 12:00:02 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adriennolarsen@hotmail.fr designates 157.55.0.231 as permitted sender) Received: from [157.55.0.231] (HELO dub0-omc1-s32.dub0.hotmail.com) (157.55.0.231) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 11:59:57 +0000 Received: from DUB112-DS25 ([157.55.0.238]) by dub0-omc1-s32.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 23 Jul 2013 04:59:36 -0700 X-TMN: [IbvMZ/8QHeIhA9wFvc+NY1vyvWdTUkgk] X-Originating-Email: [adriennolarsen@hotmail.fr] Message-ID: From: =?utf-8?Q?Adrien_Ruffi=C3=A9?= To: "'Maven Users List'" References: <005501ce8778$771d5780$65580680$@hotmail.fr> In-Reply-To: Subject: RE: release prepare with git doesn't finish Date: Tue, 23 Jul 2013 14:01:48 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQH3aCE5vdbBwsphPH9nykfQr8rJLAJapMZiAdw/LncCETAoswIkJIDVAnJMv7ACoKPOCAEfId1dmKt1JYA= Content-Language: fr X-OriginalArrivalTime: 23 Jul 2013 11:59:36.0316 (UTC) FILETIME=[1A1E3BC0:01CE879C] X-Virus-Checked: Checked by ClamAV on apache.org Operation does not work very well ... C:\Java\Workspaces\Indigo\myappcrm5>mvn = -Darguments=3D"-Dmaven.test.skip=3Dtrue -Pdistribution-packaging" = release:prepare release:perform -Dtag=3DSpring2013 /005 -Dcom.myapp.frontline:myapp-webapp=3DSpring2013/005 = -Dcom.myapp.frontline:myapp-install-wizard=3DSpring2013/005 = -DreleaseVersion=3DSpring2013-005 -Ddev elopmentVersion=3DSpring2013-006-SNAPSHOT -Dpassword=3D"mypassword" -X it try to push with following url "git push = ssh://git:mypassword@rd1/myapp.git = release/Spring2013:release/Spring2013" I think it confuses the password with the login ... therefore the url = does not work -----Message d'origine----- De : Francesco Mari [mailto:mari.francesco@gmail.com]=20 Envoy=C3=A9 : mardi 23 juillet 2013 12:17 =C3=80 : Maven Users List Objet : Re: release prepare with git doesn't finish Please retry the same command line with -Dpassword=3D"..." outside of = -Darguments=3D"...". Moreover, -Dpassphrase is not a valid argument for = the goals you used. 2013/7/23 Adrien Ruffi=C3=A9 > No sorry I have try following command : > > mvn -Darguments=3D"-Dmaven.test.skip=3Dtrue -Pdistribution-packaging=20 > -Dpassword=3Dmypassword" release:prepare release:perform --batch-mode > -Dtag=3DSpring2013/005 = -Dcom.myapp.frontline:myapp-webapp=3DSpring2013/005 > -Dcom.myapp.frontline:myapp-install-wizard=3DSpring2013/005 > -DreleaseVersion=3DSpring2013-005 > -DdevelopmentVersion=3DSpring2013-006-SNAPSHOT -Dpassword=3Dmypassword > > I also try with passphrase like: > > mvn -Darguments=3D"-Dmaven.test.skip=3Dtrue -Pdistribution-packaging=20 > -Dpassphrase=3Dmypassword" release:prepare release:perform = --batch-mode > -Dtag=3DSpring2013/005 = -Dcom.myapp.frontline:myapp-webapp=3DSpring2013/005 > -Dcom.myapp.frontline:myapp-install-wizard=3DSpring2013/005 > -DreleaseVersion=3DSpring2013-005 > -DdevelopmentVersion=3DSpring2013-006-SNAPSHOT = -Dpassphrase=3Dmypassword > > but nothing was released ... also where do you put the specify the=20 > argument ? into mvn -Darguments=3D"..." or outside mvn = -Darguments=3D"..." ? > > -----Message d'origine----- > De : Francesco Mari [mailto:mari.francesco@gmail.com] Envoy=C3=A9 : = mardi=20 > 23 juillet 2013 11:49 =C3=80 : Maven Users List Objet : Re: release = prepare=20 > with git doesn't finish > > The release:prepare goal has a password parameter which you can use=20 > from the command line [1]. > > [1]: > > http://maven.apache.org/maven-release/maven-release-plugin/prepare-moj > o.html#password > > > 2013/7/23 Adrien Ruffi=C3=A9 > > > Ok I have try without batch mode (on windows) and I have try to run=20 > > the previous command before it block ... > > > > "git push ssh://git@rd1/myapp.git = release/Spring2013:release/Spring2013" > > > > and when I tried the following git line was prompt: > > Enter passphrase for key '/c/Users/a.ruffie/.ssh/id_rsa': > > > > > > After enter my passphrase the commit will be push correctly: > > > > Counting objects: 26, done. > > Delta compression using up to 4 threads. > > Compressing objects: 100% (15/15), done. > > Writing objects: 100% (18/18), 327.80 KiB | 0 bytes/s, done. > > Total 18 (delta 13), reused 4 (delta 3) To ssh://git@rd1/myapp.git > > 200c7f1..3f5cd17 release/Spring2013 -> release/Spring2013 > > > > > > So I suppose the commit of "git push ssh://git@rd1/myapp.git=20 > > release/Spring2013:release/Spring2013" remains idle because the > passphrase > > cannot be provided. > > Do you not a means to avoid this problem ? > > > > Like provide passphrase into maven command line ? like .... > > release:perform -Dgit.password=3Dmypassword > > > > Great thank and best regards. > > > > Adrien > > > > -----Message d'origine----- > > De : Francesco Mari [mailto:mari.francesco@gmail.com] Envoy=C3=A9 : = mardi=20 > > 23 juillet 2013 10:54 =C3=80 : Maven Users List Objet : Re: release=20 > > prepare with git doesn't finish > > > > 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=20 > > applications have this problem). Try to move your project to a=20 > > 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 > > > > > 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=20 > > > the issue, so also double check you use the latest=20 > > > maven-release-plugin > > version. > > > > > > cheers > > > Le 23 juil. 2013 10:04, "Adrien Ruffi=C3=A9"=20 > > > a =C3=A9crit : > > > > > > > Hello all I have a small problem,**** > > > > > > > > ** ** > > > > > > > > I try to release a branch version of my project with following=20 > > > > command > > > (-X > > > > is for debug only):**** > > > > > > > > ** ** > > > > > > > > Mvn -Darguments=3D"-Dmaven.test.skip=3Dtrue = -Pdistribution-packaging" > > > > release:prepare --batch-mode -Dtag=3DSpring2013/005 > > > > -DreleaseVersion=3DSpring2013-005 > > > > -DdevelopmentVersion=3DSpring2013-006-SNAPSHOT =E2=80=93X**** > > > > > > > > ** ** > > > > > > > > but the background processes hang indefinitely on the last line=20 > > > > of the > > > log > > > > file and I do not know why he did not direct, because the shots=20 > > > > 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=20 > > > > C:\Users\A9532~1.RUF\AppData\Local\Temp\maven-scm-1142711596.com > > > > mit > > > pom.xml > > > > myapp-webapp\pom.xml myapp-install-wizard\pom.xml"**** > > > > > > > > [INFO] Working directory:=20 > > > > C:\Java\Workspaces\Indigo\myappcrm5**** > > > > > > > > [INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"**** > > > > > > > > [INFO] Working directory:=20 > > > > C:\Java\Workspaces\Indigo\myappcrm5**** > > > > > > > > [INFO] Executing: cmd.exe /X /C "git push=20 > > > > ssh://git@rd1/myappcrm.git > > > > release/Spring2013:release/Spring2013"**** > > > > > > > > ** ** > > > > > > > > Great thank and best regards.**** > > > > > > > > ** ** > > > > > > > > Adrien**** > > > > > > > > > > > > ---------------------------------------------------------------- > > > > ---- > > > > - To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > > > For additional commands, e-mail: users-help@maven.apache.org > > > > > > > > > > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org