cdprete commented on code in PR #441: URL: https://github.com/apache/maven-site/pull/441#discussion_r1271751332
########## content/markdown/guides/mini/guide-resolver-transport.md: ########## @@ -99,6 +99,60 @@ for example to allow the user to tell Maven how long to wait before giving up on </servers> </settings> ``` +## Low-level Resolver configuration + +All configuration items mentioned in [Configuration Options](https://maven.apache.org/resolver/configuration.html) +which is not mapped by server/configuration tag must be provided in special way. Review Comment: What does `which is not mapped by server/configuration tag` exactly mean? ########## content/markdown/guides/mini/guide-resolver-transport.md: ########## @@ -99,6 +99,60 @@ for example to allow the user to tell Maven how long to wait before giving up on </servers> </settings> ``` +## Low-level Resolver configuration + +All configuration items mentioned in [Configuration Options](https://maven.apache.org/resolver/configuration.html) +which is not mapped by server/configuration tag must be provided in special way. + +### System level + +Configuration can be provided on global level as properties in `settings.xml` + +```xml +<settings> + <profiles> + <profile> + <id>resolver-config</id> + <properties> + <aether.dependencyCollector.impl>bf</aether.dependencyCollector.impl> + <!-- set preemptiveAuth for all servers --> + <aether.connector.http.preemptiveAuth>true</aether.connector.http.preemptiveAuth> + + <!-- set preemptiveAuth for only for server with id - serverId --> + <aether.connector.http.preemptiveAuth.serverId>true</aether.connector.http.preemptiveAuth.serverId> Review Comment: That `serverId` makes it look like it's another property. I know it's not the case, but it's very confusing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
