You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "James Z.M. Gao (Jira)" <ji...@apache.org> on 2023/03/14 02:41:00 UTC

[jira] [Created] (MNG-7739) server timeout config in settings.xml is incompatible between 3.8.7 and 3.9.0

James Z.M. Gao created MNG-7739:
-----------------------------------

             Summary: server timeout config in settings.xml is incompatible between 3.8.7 and 3.9.0
                 Key: MNG-7739
                 URL: https://issues.apache.org/jira/browse/MNG-7739
             Project: Maven
          Issue Type: Bug
          Components: Settings
    Affects Versions: 3.9.0, 3.8.7
            Reporter: James Z.M. Gao


resolver in 3.9.0 uses different server configuration for connection timeout with wagon in 3.8.7. Now it is not possible to write a correct server settings working and clean for both maven versions.

 

New method with dom path server/configuration/connectTimeout:
 * 3.8.7: exception:  Cannot find 'requestTimeout' in class org.apache.maven.wagon.providers.http.HttpWagon$__sisu20
 * 3.9.0: works as expected

Old method with dom path server/configuration/httpConfiguration/all/connectionTimeout:
 * 3.8.7: works as expected
 * 3.9.0: works, but warns legacy format

Old method with dom path server/configuration/httpConfiguration/get/connectionTimeout:
 * 3.8.7: works as expected
 * 3.9.0: doesn't work, the configs are ignored



--
This message was sent by Atlassian Jira
(v8.20.10#820010)