You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by youhaodeyi <yo...@gmail.com> on 2008/04/10 13:43:43 UTC
Can I set a timeout for downloading dependency
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Can I set a timeout for downloading dependency
Posted by Yoav Landman <yl...@gmail.com>.
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 <yo...@gmail.com> 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: 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
>>
>>
>>
>
>
--
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Can I set a timeout for downloading dependency
Posted by youhaodeyi <yo...@gmail.com>.
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 <yo...@gmail.com> 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: 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
>
>
>
--
View this message in context: http://www.nabble.com/Can-I-set-a-timeout-for-downloading-dependency-tp16608218s177p16623044.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Can I set a timeout for downloading dependency
Posted by Wayne Fay <wa...@gmail.com>.
No. Ctrl-X to cancel the build and run again with "mvn -o ..." for
"offline" mode.
Wayne
On 4/10/08, youhaodeyi <yo...@gmail.com> 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: 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