2011/12/13 Olivier Lamy <ol...@apache.org>:
> 2011/12/13 Brett Porter <br...@apache.org>:
>>
>> On 13/12/2011, at 7:38 PM, Olivier Lamy wrote:
>>
>>> Le 13 décembre 2011 09:35, Arnaud Héritier <aherit...@gmail.com> a écrit :
>>>> Olivier increased it to 30 min
>>>> https://jira.codehaus.org/browse/WAGON-365
>>>> http://svn.apache.org/viewvc?view=revision&revision=1213414
>>>>
>>>> Thus I suppose we have to prepare another RC ?
>>>> Is there others feedback to listen before launching another RC ?
>>>> Others problems with the RC3 ?
>>>
>>> need a wagon release first.
>>
>> Wouldn't it be possible to do this in Maven, same as the user agent setting?
>
> With something hackhish sure :-)
> I can in DefaultMaven#newRepositorySession L416
> modify/add/manipulate on the fly a XmlPlexusConfiguration and add the
> readTimeout element if not already set.

So it works but definitely I find that too much hackhish :-)
I configure wagon with a default configuration

+        "<configuration>" +
+        "<httpConfiguration>" +
+        "<all>" +
+        "  <readTimeout>1800000</readTimeout>" +
+        "</all>" +
+        "</httpConfiguration>"+
+        "</configuration>";

In case of already existing configuration the dom is merged.
But as some wagon doesn't have those fields available (ssh, webdav)
there are some warning in the logs.

I definitely prefer release wagon 2.2 as those warning will generate
too much confusion.

So we can wait 1/2 more weeks again :-)

>
> In wagon trunk I have added more methods in Wagon api level to set
> this timeout (will be better)
>
>>
>> - Brett
>>
>> --
>> Brett Porter
>> br...@apache.org
>> http://brettporter.wordpress.com/
>> http://au.linkedin.com/in/brettporter
>> http://twitter.com/brettporter
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
>> For additional commands, e-mail: dev-h...@maven.apache.org
>>
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to