Timeout and/or retry when accessing repositories?

Hello everyone,

we face some infrastructural problems in our build environment which unfortunately cannot be addressed by us developers. Due to these problems our Nexus repository is not as responsive as expected which results in build errors. Is there a possibilty to configure a retry or to increase the read-timeout when accessing my repository?

I know in maven you can configure these parameters inside the settings.xml, i.e.

<settings>
  <servers>
    <server>
      <id>my-server</id>
      <configuration>
        <httpConfiguration>
          <put>
            <readTimeout>120000</readTimeout> <!-- milliseconds -->
          </put>
        </httpConfiguration>
      </configuration>
    </server>
  </servers>
</settings>

see: https://maven.apache.org/guides/mini/guide-http-settings.html#Connection_Timeouts
see: https://maven.apache.org/guides/mini/guide-http-settings.html#Read_time_out

Thank you very much in advance