How to use maven or gradle on unreliable network? -


Meaningful use of built-in settings Sometimes the result of a hanging connection is likely to be some network problem outside of my control .

I would like to know how I can set the timeline and try again to download both artifacts and publishing artifacts.

I've read the timeout settings for a connection timeout and HTTP wagon, but I have not found a retry option.

To publish, I found a retry option, but no timeout setting.

  • Edit What I want is equal to curl - maximum-time, And the option to download and publish again and again Delay Maven and Gradle.

    Grade-built Maven is compatibility and this .m2 or .gradle archive directory is for you. To try again, all you have to do is restart your construction until all the things are done.

  • Comments

    Popular posts from this blog

    Java - Error: no suitable method found for add(int, java.lang.String) -

    java - JPA TypedQuery: Parameter value element did not match expected type -

    c++ - static template member variable has internal linkage but is not defined -