If your goal is to fail the build in case of a download timeout and you wish
that timeout to be configurable, then you can use a repository manager such
as Artifactory to centrally set the desired network timeout for downloading
dependencies from a remote repository.
Your maven client will then receive the download timeout directly from
Artifactory.


youhaodeyi wrote:
> 
> ok. thanks.
> 
> Wayne Fay wrote:
>> 
>> No. Ctrl-X to cancel the build and run again with "mvn -o ..." for
>> "offline" mode.
>> 
>> Wayne
>> 
>> On 4/10/08, youhaodeyi <[EMAIL PROTECTED]> wrote:
>>>
>>> Can I set a timeout for downloading dependency jars?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Can-I-set-a-timeout-for-downloading-dependency-tp16608218s177p16608218.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-I-set-a-timeout-for-downloading-dependency-tp16608218s177p16649676.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to