slawekjaranowski commented on code in PR #441: URL: https://github.com/apache/maven-site/pull/441#discussion_r1271847205
########## 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: my mistake - should be a `repositoryId` some of properties can be applied globally or by repository, like in example `aether.connector.http.preemptiveAuth` - is applied for all repositories and the same property `aether.connector.http.preemptiveAuth.repoisitoryId` - is applied only for specific repository -- 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]
