Re: Timeout
Robert Metzger <[email protected]> Mon, 22 Sep 2014 13:34:32 +0200
| Newsgroups | gmane.comp.jakarta.repository |
|---|---|
| Message-ID | <CAGr9p8CO0F=oBt1A6hzzsgzE0Mn+m6GTaZoOpzq_C1-+gqPkMQ@mail.gmail.com> |
--047d7bdc8578da230d0503a5d6d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, the maven deploy plugin allows to set the "retryFailedDeploymentCount" property (see: http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html ). By default it is set to one, so the deployment is failing very fast. I hope that helps. Cheers, Robert On Mon, Sep 22, 2014 at 11:42 AM, Lukasz Lenart <[email protected]> wrote: > Hi, > > I'm performing 'mvn release:perform' but getting timeouts - yesterday > everything was ok and I was able upload all the artefacts at once. Is > it possible to increase timeout? I already added <timeout> option but > it didn't help :( > > <server> > <id>apache.snapshots.https</id> > <username>lukaszlenart</username> > <password>mySecretPassword</password> > <privateKey>.ssh/lukaszlenart</privateKey> > <passphrase>passpass</passphrase> > <configuration> > <timeout>12000</timeout> <!-- milliseconds --> > </configuration> > </server> > > Error message: > [INFO] [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy > (default-deploy) on project struts2-javatemplates-plugin: Failed to > deploy artifacts: Could not transfer artifact > org.apache.struts:struts2-javatemplates-plugin:jar:2.3.18 from/to > apache.releases.https > (https://repository.apache.org/service/local/staging/deploy/maven2): > The target server failed to respond -> [Help 1] > > > Thanks in advance > -- > =C5=81ukasz > + 48 606 323 122 http://www.lenart.org.pl/ > --047d7bdc8578da230d0503a5d6d2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>the maven deploy plugin allows to s= et the "retryFailedDeploymentCount" property (see:=C2=A0<a href= =3D"http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html">h= ttp://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html</a> ). = By default it is set to one, so the deployment is failing very fast.</div><= div><br></div><div>I hope that helps.</div><div><br></div><div>Cheers,</div= ><div>Robert</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_= quote">On Mon, Sep 22, 2014 at 11:42 AM, Lukasz Lenart <span dir=3D"ltr">&l= t;<a href=3D"mailto:[email protected]" target=3D"_blank">lukaszlenart= @apache.org</a>></span> wrote:<br><blockquote class=3D"gmail_quote" styl= e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> I'm performing 'mvn release:perform' but getting timeouts - yes= terday<br> everything was ok and I was able upload all the artefacts at once. Is<br> it possible to increase timeout? I already added <timeout> option but= <br> it didn't help :(<br> <br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <server><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <id>apache.snapshots.https&= lt;/id><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <username>lukaszlenart</= username><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <password>mySecretPassword&= lt;/password><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <privateKey>.ssh/lukaszlena= rt</privateKey><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <passphrase>passpass</pa= ssphrase><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <configuration><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <timeout>1200= 0</timeout> <!-- milliseconds --><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 </configuration><br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 </server><br> <br> Error message:<br> [INFO] [ERROR] Failed to execute goal<br> org.apache.maven.plugins:maven-deploy-plugin:2.6:deploy<br> (default-deploy) on project struts2-javatemplates-plugin: Failed to<br> deploy artifacts: Could not transfer artifact<br> org.apache.struts:struts2-javatemplates-plugin:jar:2.3.18 from/to<br> apache.releases.https<br> (<a href=3D"https://repository.apache.org/service/local/staging/deploy/mave= n2" target=3D"_blank">https://repository.apache.org/service/local/staging/d= eploy/maven2</a>):<br> The target server failed to respond -> [Help 1]<br> <br> <br> Thanks in advance<br> <span class=3D"HOEnZb"><font color=3D"#888888">--<br> =C5=81ukasz<br> <a href=3D"tel:%2B%2048%20606%20323%20122" value=3D"+48606323122">+ 48 606 = 323 122</a>=C2=A0<a href=3D"http://www.lenart.org.pl/" target=3D"_blank">ht= tp://www.lenart.org.pl/</a><br> </font></span></blockquote></div><br></div> --047d7bdc8578da230d0503a5d6d2--