build
Build a shared AetherContext from the given configuration.
Parameters
Directory used as the local Maven repository. Created if absent. Use a subdirectory of the tool cache to isolate recipe JARs, or the Maven default (~/.m2/repository) to reuse the user's existing local repository.
Additional remote Maven repositories beyond Maven Central. Credentials from RepositoryConfig are applied when present.
TCP connection timeout in milliseconds. Defaults to 30 000.
Socket read / request timeout in milliseconds. Defaults to 60 000. An explicit value prevents hanging when a remote server accepts the TCP connection but never sends an HTTP response.
Number of parallel artifact download threads used by the connector. Defaults to 5. Increase for faster downloads on high-bandwidth networks; decrease in resource-constrained environments.
Dependency scopes to prune from the collection graph during POM traversal. Pruned nodes are never collected, so their POM files are never downloaded. Use listOf("test", "provided", "system") for recipe artifact resolution where only compile/runtime JARs are needed. Leave empty (default) for project dependency resolution where test-scoped deps are needed for LST type resolution of test sources.